首页 >通知公告 > > 正文

热头条丨vant安装报错npm WARN read-shrinkwrap This version of npm is compatible with lockfile

发布日期:2023-04-06 10:28:08 来源:腾讯云 分享


【资料图】

npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I"ll try to do my best with it!npm ERR! path C:\Users\xuhuichen\Desktop\gpyh-ec-wx-front\node_modules\.bin\tsserver.cmdnpm ERR! code EEXISTnpm ERR! Refusing to delete C:\Users\xuhuichen\Desktop\gpyh-ec-wx-front\node_modules\.bin\tsserver.cmd: is outside C:\Users\xuhuichen\Desktop\gpyh-ec-wx-front\node_modules\typescript and not a linknpm ERR! File exists: C:\Users\xuhuichen\Desktop\gpyh-ec-wx-front\node_modules\.bin\tsserver.cmdnpm ERR! Move it away, and try again.npm ERR! A complete log of this run can be found in:npm ERR!     C:\Users\xuhuichen\AppData\Roaming\npm-cache\_logs\2023-03-31T01_48_00_915Z-debug.log

是因为node版本太低

修改版本到16后安装成功

标签:

Copyright ©  2015-2022 西方兽药网版权所有  备案号:沪ICP备2020036824号-7   联系邮箱:5 626 629 @qq.com