当前位置: 首页  >  >资讯 > > 正文

聚焦:vant安装报错npm WARN read-shrinkwrap This version of npm is compatible with lockfile

2023-04-05 04:57:43    来源:腾讯云


(资料图片仅供参考)

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后安装成功

关键词:

«上一篇:天天即时看!房产继承授权书应该怎样写? »下一篇: 天天百事通!苹果公司销售主管离开苹果公司前往国防部任职