[2/4] Fetching packages...
info email@example.com: The platform "win32" is incompatible with this module.
info "firstname.lastname@example.org" is an optional dependency and failed compatibility check. Excluding it from installation.
This message looks like an error and is confusing. I suggest to suppress this message if possible, or at least write a message beforehand to tell to ignore this “error”
Agreed, it looks scary, but it’s not something I can easily
grep away. Unfortunately that’s the best way to support cross-platform dependencies from within
yarn (that I could find).
The alternative would be to make a “fat” dependency that includes both posix and windows code (which would only be 15MB more code, so maybe that’s not so bad?)
I saw this message fly by again on my box, and looked into it a bit:
yarn has a
--quiet mode. This will be in v1.2.
Thanks for the suggestion!