We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
微信小程序
小程序基础库: 3.2.3 使用框架: React
? 请输入项目介绍 myapp ? 请选择框架 React ? 是否需要使用 TypeScript ? Yes ? 请选择 CSS 预处理器(Sass/Less/Stylus) Sass ? 请选择编译工具 Webpack5 ? 请选择包管理工具 npm ? 请选择模板源 Gitee(最快) √ 拉取远程模板仓库成功! ? 请选择模板 taro-ui(使用 taro-ui 的模板) √ cd myapp, 执行 git init ‼ npm ERR! ‼ code ERESOLVE ‼ npm ERR! ‼ ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: myapp@1.0.0 npm ERR! Found: @tarojs/plugin-platform-alipay@3.6.5 npm ERR! node_modules/@tarojs/plugin-platform-alipay npm ERR! @tarojs/plugin-platform-alipay@"3.6.5" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @tarojs/plugin-platform-alipay@"3.6.6" from taro-ui@3.2.0 npm ERR! node_modules/taro-ui npm ERR! taro-ui@"^3.1.0-beta.2" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR!
× 安装项目依赖失败,请自行重新安装! Error: Command failed: npm install npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: myapp@1.0.0 npm ERR! Found: @tarojs/plugin-platform-alipay@3.6.5 npm ERR! node_modules/@tarojs/plugin-platform-alipay npm ERR! @tarojs/plugin-platform-alipay@"3.6.5" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @tarojs/plugin-platform-alipay@"3.6.6" from taro-ui@3.2.0 npm ERR! node_modules/taro-ui npm ERR! taro-ui@"^3.1.0-beta.2" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR!
无报错
依赖关系有误
Taro CLI 3.6.20 environment info: System: OS: Windows 10 10.0.18363 Binaries: Node: 16.0.0 - C:\Program Files\nodejs\node.EXE npm: 7.10.0 - C:\Program Files\nodejs\npm.CMD
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
Duplicate of #14954
No branches or pull requests
相关平台
微信小程序
小程序基础库: 3.2.3
使用框架: React
复现步骤
? 请输入项目介绍 myapp
? 请选择框架 React
? 是否需要使用 TypeScript ? Yes
? 请选择 CSS 预处理器(Sass/Less/Stylus) Sass
? 请选择编译工具 Webpack5
? 请选择包管理工具 npm
? 请选择模板源 Gitee(最快)
√ 拉取远程模板仓库成功!
? 请选择模板 taro-ui(使用 taro-ui 的模板)
√ cd myapp, 执行 git init
‼ npm ERR!
‼ code ERESOLVE
‼ npm ERR!
‼ ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: myapp@1.0.0
npm ERR! Found: @tarojs/plugin-platform-alipay@3.6.5
npm ERR! node_modules/@tarojs/plugin-platform-alipay
npm ERR! @tarojs/plugin-platform-alipay@"3.6.5" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @tarojs/plugin-platform-alipay@"3.6.6" from taro-ui@3.2.0
npm ERR! node_modules/taro-ui
npm ERR! taro-ui@"^3.1.0-beta.2" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
× 安装项目依赖失败,请自行重新安装!
Error: Command failed: npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: myapp@1.0.0
npm ERR! Found: @tarojs/plugin-platform-alipay@3.6.5
npm ERR! node_modules/@tarojs/plugin-platform-alipay
npm ERR! @tarojs/plugin-platform-alipay@"3.6.5" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @tarojs/plugin-platform-alipay@"3.6.6" from taro-ui@3.2.0
npm ERR! node_modules/taro-ui
npm ERR! taro-ui@"^3.1.0-beta.2" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
期望结果
无报错
实际结果
依赖关系有误
环境信息
The text was updated successfully, but these errors were encountered: