Node Resources – Information

Upgrading npm version in Window

  1. Check npm version
  2. Window run window PowerShell as administrator
  3. Run command >>npm install –global –production npm-windows-upgrade.
  4. Next run command >> npm-windows-upgrade

 

Upgrading node version in Window

Upgrading node in the window is easy as we have to download the latest Node js from node website and install the latest version will override the existing old node version in the window.

Note: Change in node version will affect our existing project eg ionic, as the environment had changed, so we need to run some command to change the environment. In ionic run the following command.

>>npm install
>>npm rebuild node-sass --force