意外的错误:NPM WARN CONFIG HENKWRAP。改用 - 包装锁定设置
尽管我成功地构建了该应用程序,但我正在收到此警告信息。这是我从Angular 7迁移到13的应用程序,并在Angular版本10到11迁移期间遇到此错误。我没有任何npm-shrinkwrap.json,npm_modules中没有包装包装的软件包。我只有软件包
。请帮助。
I am getting this warning message though I am building the application successfully. This is the application I am migrating from angular 7 to 13 and getting this error during Angular version 10 to 11 migration. I don't have any npm-shrinkwrap.json and there is no package in the npm_modules for shrink-wrap. I only have package-lock.json
I have referred a couple of StackOverflow questions and google and still don't get any clear answer. Kindly help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
npm警告读取shrinkwrap此版本的npm与lockfileversion@1兼容,但是package-lock.json是为lockfileversion@2生成的。我会尽力而为!
为了克服此问题,在全球运行命令
运行命令,该文件帮助我解决了问题。
并在项目中
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!
to overcome this issue, running the command
globally and running the command
in the project, the file helped me resolve the issue.