Skip to content

Instantly share code, notes, and snippets.

@kamlekar
Last active August 7, 2018 08:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kamlekar/d1665b5d23029a3fe5c6b270a75165ef to your computer and use it in GitHub Desktop.
Save kamlekar/d1665b5d23029a3fe5c6b270a75165ef to your computer and use it in GitHub Desktop.
To upgrade npm installs from outdated node version to latest node version

open up a new cmd as administrator and run this command:

npm install --global --production windows-build-tools

then (this seems optional)

npm config set msvs_version 2015 --global

then in project directory

npm install 

or

npm rebuild

or

npm rebuild --save-dev node-sass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment