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 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?
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?
2 Answers
Reset to default 7After 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
yarn install --ignore-engines
– Ryan Walker Commented Sep 4, 2018 at 22:04