1/22/2024 0 Comments Update npm windows![]() ![]() 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).Change directories to %USERPROFILE% - that's a window's environment variable that takes you to C:\Users\CurrentlyLoggedInUser.Close your open console if you have one open, then open a console as administrator. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |