= 6.9.0 <7.0.0 || >= 8.9.0"-6ren"> = 6.9.0 <7.0.0 || >= 8.9.0"-即使我有 node -v v8.2.1,我也无法 npm init react-app my-app 或 npx create-react-app my-app。我的控制台输出: > [1/4] 🔍-6ren">
gpt4 book ai didi

node.js - create-react-app > 错误 css-loader@1.0.0 : The engine "node" is incompatible with this module. 预期版本 ">= 6.9.0 <7.0.0 || >= 8.9.0"

转载 作者:太空宇宙 更新时间:2023-11-03 23:17:57 25 4
gpt4 key购买 nike

即使我有 node -v v8.2.1,我也无法 npm init react-app my-appnpx create-react-app my-app。我的控制台输出:

> [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 之间的 Node 版本

关于node.js - create-react-app > 错误 css-loader@1.0.0 : The engine "node" is incompatible with this module. 预期版本 ">= 6.9.0 <7.0.0 || >= 8.9.0",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53027349/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com