This was npm version 1.4.9 and wouldn't update no matter what one did including uninstall and reinstall NodeJs. I had (age ago) installed npm via chocolatey, which created a chocolatey initiated npm.exe in C:\ProgramData\chocolatey\bin\npm.exe. In your favourite shell, type npm -version - this should now echo the version of NPM that came with NodeJS (at the time of this writing, that version is 3.10.10).Now install NodeJS using the appropriate MSI from.If you had npm installed via chocolatey, you'll see a path like C:\ProgramData\chocolatey\bin\npm.exe - DELETE it!.
0 Comments
Leave a Reply. |