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

林昱
2023-12-01

vscode

在package.json中增加private字段;

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

再重新运行,notice就没有了

 类似资料: