npm install xx@xxx 安装指定版本npm
由于执行npm install会首先查看package-lock.jsonjson
该文件的目的是将其提交到源存储库中,以保证依赖的统一。package.json