The package-lock.json file was created with an old version of npm

问题背景:
npm install 报:
The package-lock.json file was created with an old version of npm

问题分析:
你使用npm太新了

#npm i npm@6 -g
#npm -v
6.14.15
  • 参考文章:https://blog.csdn.net/inthat/article/details/120564807

你可能感兴趣的:(npm,npm,json,前端)