npm install the exact package version specified in package.json

后端 未结 3 1398
生来不讨喜
生来不讨喜 2020-12-08 18:39

Currently, If I run npm install, it installs the updated version of already installed packages. How can I install the exact version as specified in the pa

3条回答
  •  醉酒成梦
    2020-12-08 19:21

    You can also open package.json and change value for the package you want to remain exact. From "vue": "^2.6.10" to "vue": "2.6.10". Notice the lack of ^ sign in front of the version number.

提交回复
热议问题