I recently installed nodejs v6.9.2 via https://nodejs.org I try to update packages in cmd but it looks no change at all. I was able to change npm version with these commands, somethings wrong with nodejs in my pc.. Here is output:
How can I fix it
I recently installed nodejs v6.9.2 via https://nodejs.org I try to update packages in cmd but it looks no change at all. I was able to change npm version with these commands, somethings wrong with nodejs in my pc.. Here is output:
How can I fix it
Best way of upgrade NPM on Windows:https://github.com/felixrieseberg/npm-windows-upgrade
Open windows power shell with Administrator access
npm install -g npm-windows-upgrade
npm-windows-upgrade
Do not run npm i -g npm. Instead use npm-windows-upgrade to update npm going forward. Also if you run the NodeJS installer, it will replace the node version.