npm notice created a lockfile as package-lock.json. You should commit this file.

解决办法:在package.json中增加private字段,再重新运行,notice就没有了

npm notice created a lockfile as package-lock.json. You should commit this file._json