. Advertisement .
..3..
. Advertisement .
..4..
For the the engine node is incompatible with this module problem. I tried to fix it, but It doesn’t work and returns the result I want. Here is my code:
{
"engines" : {
"node" : ">=8.0.0"
}
}
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=6 <7 || >=8". Got "7.0.0"
has occurred. I’ve checked the entire command line but still can’t find the mistake.
The cause: Your Node version is out of date and doesn’t match the module
Solution: Upgrading to the latest node version will solve this error
You can use this way to fix the error:
Method for a long-lasting solution is:
You can ignore engines:
$ yarn install --ignore-engines
OR
$ yarn global add <your app> --ignore-engines
Running will show you everything that you can’t ignore.