s***@163.com
s***@163.com
  • 发布:2023-03-27 10:14
  • 更新:2023-03-27 10:34
  • 阅读:234

npx @dcloudio/uvm 这是搞什么?

分类:uni-app
E:\HL\Demo\测试>npx @dcloudio/uvm 3.6.18.20230117  
? Select Package Manager npm  

up to date, audited 1070 packages in 2s  

50 packages are looking for funding  
  run `npm fund` for details  

found 0 vulnerabilities  
npm ERR! code ERESOLVE  
npm ERR! ERESOLVE could not resolve  
npm ERR!  
npm ERR! While resolving: uni-preset-vue@0.0.0  
npm ERR! Found: @dcloudio/vite-plugin-uni@3.0.0-3070820230323001  
npm ERR! node_modules/@dcloudio/vite-plugin-uni  
npm ERR!   dev @dcloudio/vite-plugin-uni@"3.0.0-3061820230117001" from the root project  
npm ERR!  
npm ERR! Could not resolve dependency:  
npm ERR! dev @dcloudio/vite-plugin-uni@"3.0.0-3061820230117001" from the root project  
npm ERR!  
npm ERR! Conflicting peer dependency: vite@3.2.4  
npm ERR! node_modules/vite  
npm ERR!   peer vite@"3.2.4" from @dcloudio/vite-plugin-uni@3.0.0-3061820230117001  
npm ERR!   node_modules/@dcloudio/vite-plugin-uni  
npm ERR!     dev @dcloudio/vite-plugin-uni@"3.0.0-3061820230117001" 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!  
npm ERR!  
npm ERR! For a full report see:  
npm ERR! C:\Users\Administrator\AppData\Local\npm-cache\_logs\2023-03-27T02_11_59_481Z-eresolve-report.txt  

npm ERR! A complete log of this run can be found in:  
npm ERR!     C:\Users\Administrator\AppData\Local\npm-cache\_logs\2023-03-27T02_11_59_481Z-debug-0.log
2023-03-27 10:14 负责人:无 分享
已邀请:
s***@163.com

s***@163.com (作者)

npm方式就报错,换cnpm就不成功

要回复问题请先登录注册