-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🧐[问题 | question] 构建脚手架 安装依赖失败 #11284
Comments
我也碰到了类似问题 |
|
一样遇到了同样的问题,主要说是有组件不支持 react@"^18.2.0 ,我去 package.json 里面变为 "react": "^17.0.2", 和 "react-dom": "^17.0.2", 之后又说有组件必须要 react@"^18.2.0 版本大于 18,有点无语 |
咋解决的啊 米娜桑 |
直接移需要低版本的react包即可 |
🧐 问题描述 | Problem description
按照官网步骤创建,
npm i @ant-design/pro-cli -g : 提示多个包过期警告
pro create myapp : 直接询问simple/complete, 没有询问 umi 4或3
yarn 命令后 提示多个依赖有问题或缺失
npm: 10.7.0
node: v20.13.1
yarn: 4.3.1
💻 示例代码 | Sample code
🚑 其他信息 | Other information
Yarn 4.3.1
➤ YN0000: ┌ Resolution step
➤ YN0085: │ + @ant-design/icons@npm:4.8.3, @ant-design/pro-cli@npm:3.3.0, and 2401 more.
➤ YN0000: └ Completed in 2m 58s
➤ YN0000: ┌ Post-resolution validation
➤ YN0002: │ ant-design-pro@workspace:. doesn't provide @types/node (p48fbf), requested by ts-node.
➤ YN0086: │ Some peer dependencies are incorrectly met by your project; run yarn explain peer-requirements for details, where is the six-letter p-prefixed code.
➤ YN0086: │ Some peer dependencies are incorrectly met by dependencies; run yarn explain peer-requirements for details.
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0013: │ A package was added to the project (+ 1.78 MiB).
➤ YN0000: └ Completed in 2s 886ms
➤ YN0000: ┌ Link step
➤ YN0000: │ ESM support for PnP uses the experimental loader API and is therefore experimental
➤ YN0007: │ core-js@npm:2.6.12 must be built because it never has been before or the last one failed
➤ YN0007: │ puppeteer-core@npm:1.12.2 must be built because it never has been before or the last one failed
➤ YN0007: │ esbuild@npm:0.21.4 must be built because it never has been before or the last one failed
➤ YN0007: │ core-js@npm:3.34.0 must be built because it never has been before or the last one failed
➤ YN0007: │ es5-ext@npm:0.10.64 must be built because it never has been before or the last one failed
➤ YN0007: │ core-js-pure@npm:3.37.1 must be built because it never has been before or the last one failed
➤ YN0007: │ esbuild@npm:0.18.20 must be built because it never has been before or the last one failed
➤ YN0007: │ core-js@npm:3.37.1 must be built because it never has been before or the last one failed
➤ YN0007: │ ant-design-pro@workspace:. must be built because it never has been before or the last one failed
➤ YN0009: │ ant-design-pro@workspace:. couldn't be built successfully
OS:
Node:
浏览器 | browser:
The text was updated successfully, but these errors were encountered: