create-react-app > error css-loader@1.0.0: 引擎 "node" 与此模块不兼容。预期版本“>= 6.9.0 <7.0.0 || >= 8.9.0”
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"
我无法 npm init react-app my-app
或 npx create-react-app my-app
,即使我有 node -v v8.2.1
。我的控制台输出:
> [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.
我试图删除 css-loader 或安装最新版本的软件包。任何帮助将不胜感激。
您需要 8.9.0 以上或 6.9.0 到 7 之间的节点版本
我无法 npm init react-app my-app
或 npx create-react-app my-app
,即使我有 node -v v8.2.1
。我的控制台输出:
> [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.
我试图删除 css-loader 或安装最新版本的软件包。任何帮助将不胜感激。
您需要 8.9.0 以上或 6.9.0 到 7 之间的节点版本