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的版本是适合于lockfileVersion@1的,但是你的package-lock.json是源于lockfileVers...
51CTO博客已为您找到关于This version of npm is compatible with lockfileVersion@1, but package-lock.j的相关内容,包含IT学习相关文档代码介绍、相关教程视频课程,以及This version of npm is compatible with lockfileVersion@1, but package-lock.j问答内容。更多This
This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@0. I'll try to do my best with it! 我是执行npm i的时候出现的这个警告,后面还跟了很多错误,我就一直在搜索这个问题,其实下面的错误不是它导致的,它只是个警告,说的是版本不匹配大概...
根据警告信息,我们可以看到npm v9.6.7不支持Node.js v15.9.0,所以我们需要升级或降级npm。 如果您当前的npm版本较低,如v6.x.x,您可以升级npm到最新版本。这可以使用以下命令完成: npminstall-gnpm// 使用npm全局安装最新版本的npm 1. 如果您当前的npm版本过高,如v10.x.x或更高,您可以降级npm到一个合适的...
This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for... 在npm install 的时候报了这个 百度说是npm 版本问题 我的解决办法是 然后正常下载依赖即可
npm命令失效 mac系统上单独升级了npm命令后,因为node版本过低没有提前升级,造成npm命令无法使用: ERROR: npm v9.6.2 is known not to run on Node.js v10.15.1. You'll need to upgrade to a newer Node.js version in order to use this version of npm. This version of...
npm版本升级备忘 本次总结 :升级npm版本时,需要将npm的源切换到官方源。 本次总结 :npm版本升级后,可能需要进行node的升级 在使用npm install项目时报下方错误 npmWARNread-shrinkwrapThisversion of npmiscompatible with lockfileVersion@1,but package-lock.json was generatedforlockfileVersion@2.I'lltrytodomy...
read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@0. I'll try to do my best with it! npm ERR! code EINVALIDTYPE npm ERR! typeerror Error: Argument#5: Expected object but got string ...
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! pathC:\Users\xuhuichen\Desktop\gpyh-ec-wx-front\node_modules\.bin\tsserver.cmd ...
This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@0. I'll try to do my best with it! 2020-06-05 17:40 −... sinceForever 2 15108 Declaration of Admin\Controller\GameController::delete() should be compatible with。。