Do you want to request a feature or report a bug?
bug
What is the current behavior?
after calling any CLI command yarn I face up with
error The engine "node" is incompatible with this module. Expected version "7.8.0".
error An unexpected error occurred: "Found incompatible module".
If the current behavior is a bug, please provide the steps to reproduce.
just run yarn
Please mention your node.js, yarn and operating system version.
Yarn version:
1.5.1
Node version:
8.10.0
Platform:
darwin x64
It looks like some dependency that you have installed requires node 7.8.0 but that isn't the version you have installed. What dependencies do you have? if you run with the --ignore-engines flag, it should get past that error.
Some additional commentary here: https://github.com/yarnpkg/yarn/issues/3430
It's also possible that your yarn.lock file is out of sync, deleting that and re-running yarn will validate if the module is indeed incompatible.
Most helpful comment
It looks like some dependency that you have installed requires node 7.8.0 but that isn't the version you have installed. What dependencies do you have? if you run with the
--ignore-enginesflag, it should get past that error.