针对本地项目:
echo 'package-lock=false' >> .npmrc
npm全局设置
npm config set package-lock false
参考资料
https://codeburst.io/disabling-package-lock-json-6be662f5b97d
echo 'package-lock=false' >> .npmrc
npm config set package-lock false
https://codeburst.io/disabling-package-lock-json-6be662f5b97d