Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up{{ message }}
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
What steps will reproduce the bug?
installing latest version of nodejs 12.19.0 when having npm version 6.4.1 in %APPDATA% will get you in a situation where you can not update npm anymore.
npm install npm@latest will report that npm version 6.4.1 is not supported by the current version of nodejs.
although nodejs installs a more recent version of npm in c:\program files\nodejs, it will still use the version from %APPDATA%
"c:\Program Files\nodejs\node.exe" "c:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" install npm@latest
What is the expected behavior?
I would expect to be able to update npm at any time , perhaps by providing an option to run npm from nodejs folder...
What do you see instead?
npm 6.4.1 is incompatible with nodejs 12.19.0