I'm unable to npm init react-app my-app
or npx create-react-app my-app
even if I have node -v v8.2.1
. My console output:
> [1/4] 🔍 Resolving packages... [2/4] 🚚 Fetching packages... error
> [email protected]: The engine "node" is incompatible with this module.
> Expected version ">= 6.9.0 <7.0.0 || >= 8.9.0". error Found
> incompatible module info Visit https://yarnpkg.com/en/docs/cli/add for
> documentation about this command.
I tried to remove css-loader or install the last version of the package. Any help would be greatly appreciated.
You need node version above of 8.9.0 or between 6.9.0 to 7