1. 首页>
  2. 技术文章>
  3. 执行npm install时出现npm notice created a lockfile as package-lock.json. You should commit this file.

执行npm install时出现npm notice created a lockfile as package-lock.json. You should commit this file.

9/19/22 10:06:50 PM 浏览 1206 评论 0

vue

在package.json中增加private字段;

将项目声明为私有项目:"private": true,

再重新运行,notice就没有了

网友讨论