[英]create-react-app > error css-loader@1.0.0: The engine “node” is incompatible with this module. Expected version “>= 6.9.0 <7.0.0 || >= 8.9.0”
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
. 即使我有
node -v v8.2.1
我也无法npm init react-app my-app
或npx create-react-app my-app
。 My console output: 我的控制台输出:
> [1/4] 🔍 Resolving packages... [2/4] 🚚 Fetching packages... error
> css-loader@1.0.0: 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. 我试图删除css-loader或安装软件包的最新版本。 Any help would be greatly appreciated.
任何帮助将不胜感激。
您需要8.9.0或6.9.0至7之间的节点版本
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.