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

腾讯云

2023-04-06 15:35: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后安装成功

最新资讯

猜你喜欢

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

2023-04

中国电科员工大骂领导截图火遍全网

2023-04

环球快讯:高中语文文言实词知识点总结

2023-04

法院认定谢娜张杰购房不存在跳单_世界热讯

2023-04

2023上半年铜仁市事业单位招聘联考信息汇总

2023-04

北向资金净卖出36.51亿,贵州茅台、东方财富等获加仓,中国中免净卖出额居首(名单)

2023-04

西大门:随着市场不断复苏,公司为开拓业务,将不断的把握机会参加展会,公司目前订单充足,产能利用率高

2023-04

天天新资讯:机构对AI概念分歧加剧 业绩能否兑现将成关键因素

2023-04