Not seeing latest version when updating Node.js via installer (MSI) Windows 7 -


i'm trying update node on windows 7 box i'm not seeing latest version after re-install/update node.

i'm going out http://nodejs.org/download/ , getting latest windows installer, v0.10.28. run installer defaults installing on local hard drive, including npm, cool because wanted upgrade well.

install runs/finishes no apparent problem, when a:

node --version 

i'm still seeing "old" version, v0.10.15, not latest supposedly installed, v0.10.28. npm version still reports "old" version well.

i've tried rebooting well.

how heck 1 update node/npm?

i had similar problem on macos , reason had nvm installed. running commands found on websites:

sudo npm cache clean -f sudo npm install -g n sudo n stable 

didn't work, node -v still displayed old version. did install node nvm:

nvm install v0.12.6 

this build node scratch on machine, , node -v display correct version. think have still used previous commands using n , nvm use v0.12.6, test. if have nvm installed, check commands nvm upgrade node.


Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -