10/13/2023 0 Comments Update npm windowsReboot (or you probably can get away with killing all node-related processes from Task Manager).Uninstalled NodeJS from Programs & Features with the uninstaller.Note: I've used the Microsoft automated script in the past to fix this, but only because I didn't realize how easy it would be to do it myself.Īll npm install commands were getting stuck and will throw error (behind proxy error) after sometime. Re-add Node (in Program Files)/NPM (in App Data - the one installed in Program Files should be the old one) to your user and system environment variables.If this solution would work for you, step 4 would have worked, and npm -v will show a an up-to-date version.Run from the console in %USERPROFILE%, "C:\Program Files\nodejs\npm" install npm -g (you might have yours in the x86 folder).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |