You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
⚠ npm error code ERESOLVE
⚠ npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: infections-discover-ecosystem-front@1.0.0
npm error Found: vite@6.0.2
npm error node_modules/vite
npm error peer vite@"^5.0.0 || ^6.0.0" from @vitejs/plugin-vue@5.2.1
npm error node_modules/@vitejs/plugin-vue
npm error peerOptional @vitejs/plugin-vue@"^5" from @tarojs/plugin-framework-vue3@4.0.8
npm error node_modules/@tarojs/plugin-framework-vue3
npm error @tarojs/plugin-framework-vue3@"4.0.8" from the root project
npm error
npm error Could not resolve dependency:
npm error peerOptional vite@"^4" from @tarojs/plugin-framework-vue3@4.0.8
npm error node_modules/@tarojs/plugin-framework-vue3
npm error @tarojs/plugin-framework-vue3@"4.0.8" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error C:\Users\admin\AppData\Local\npm-cache_logs\2024-12-05T09_39_03_810Z-eresolve-report.txt
⚠ npm error A complete log of this run can be found in: C:\Users\admin\AppData\Local\npm-cache_logs\2024-12-05T09_39_03_810Z-debug-0.log
相关平台
H5
浏览器版本: Chrome 62
使用框架: Vue 3
复现步骤
使用taro update project升级工程,报错如下
⚠ npm error code ERESOLVE
⚠ npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: infections-discover-ecosystem-front@1.0.0
npm error Found: vite@6.0.2
npm error node_modules/vite
npm error peer vite@"^5.0.0 || ^6.0.0" from @vitejs/plugin-vue@5.2.1
npm error node_modules/@vitejs/plugin-vue
npm error peerOptional @vitejs/plugin-vue@"^5" from @tarojs/plugin-framework-vue3@4.0.8
npm error node_modules/@tarojs/plugin-framework-vue3
npm error @tarojs/plugin-framework-vue3@"4.0.8" from the root project
npm error
npm error Could not resolve dependency:
npm error peerOptional vite@"^4" from @tarojs/plugin-framework-vue3@4.0.8
npm error node_modules/@tarojs/plugin-framework-vue3
npm error @tarojs/plugin-framework-vue3@"4.0.8" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error C:\Users\admin\AppData\Local\npm-cache_logs\2024-12-05T09_39_03_810Z-eresolve-report.txt
⚠ npm error A complete log of this run can be found in: C:\Users\admin\AppData\Local\npm-cache_logs\2024-12-05T09_39_03_810Z-debug-0.log
期望结果
正常升级去除vite版本限制
实际结果
无法正常升级,vite版本冲突
环境信息
The text was updated successfully, but these errors were encountered: