When I run yarn
, I receive the following error:
yarn install v0.16.1
[1/4] Resolving packages...
[2/4] Fetching packages...
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=6.0.0".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
However, the version of Node that I have installed is v6.9.2-pre
, which seems to be correct for the version range. Any ideas why I get this error?
After upgrading to current tag v7.0.0
and node -v v7.0.0
yarn work just fine. I think, this problem related to -pre
release versions or maybe just about the prefix inside of the version output.
To upgrade node in mac
brew upgrade node
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With