Node update a specific package

后端 未结 3 963
清酒与你
清酒与你 2020-12-12 11:05

I want to update my Browser-sync without updating all my node packages. How can I achieve this? My current version of Browser-sync does not have the Browser

3条回答
  •  借酒劲吻你
    2020-12-12 11:20

    Use npm outdated to see Current and Latest version of all packages.


    Then npm i packageName@versionNumber to install specific version : example npm i browser-sync@2.1.0.

    Or npm i packageName@latest to install latest version : example npm i browser-sync@latest.

提交回复
热议问题