You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
nodejs LTS v6.10.2 Windows installs give npm version 1.4.2 instead of 3.10.10 #12237
I have tried uninstalling and installing nodejs LTS v6.10.2 on Windows multiple ways but I keep getting ((npm version 1.4.3)), even though it says it should be 3.10.10.
I have used the Windows installer (.msi), trying both 32 bit and 64 bit (my machine is 64 bit).
I have also tried installing using the Windows binary (.zip).
I have not tried the build (because of its additional requirements).
"NPM -VERSION" reports 1.4.3.
"Where NPM" reports the correctly installed location as "C:\Program Files (x86)\nodejs\npm.cmd" after the 32 bit install and "C:\Program Files\nodejs\npm.cmd" after the 64 bit install.
The .npmrc file (in c:\users{userid}) contained a PREFIX line pointing at an older version of node/npm in a Rational Application Developer (Eclipse) environment. And it was surviving my uninstall/reinstall .
Once I deleted the line, then I started getting the new version.
Activity
dennis-bicker commentedon Apr 6, 2017
I found it.
The .npmrc file (in c:\users{userid}) contained a PREFIX line pointing at an older version of node/npm in a Rational Application Developer (Eclipse) environment. And it was surviving my uninstall/reinstall .
Once I deleted the line, then I started getting the new version.
prefix = C:\Program Files\IBM\SDP\cordova_cli