How to ignore incompatible engine "node" error on installing npm dependencies with yarn?
You can indeed ignore such errors via --ignore-engines:
$ yarn install --ignore-engines
yarn install v0.24.5
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 1.41s.
This is also documented in the command's help:
$ yarn help | grep -- --ignore
--ignore-scripts don't run lifecycle scripts
--ignore-platform ignore platform checks
--ignore-engines ignore engines check
--ignore-optional ignore optional dependencies
"yarn config set ignore-engines true" Is a one time fix for the "the engine node is incompatible with this module" problem. Once that is completed then you can do "create-react-app my-app"