It's at least punching through the firewall /proxy (if you have one or have already ran the code get through. If you get `wget : Could not find a part of the path. Run this to update Node.js: wget -OutFile 'C:\Program Files (x86)\nodejs\node.exe' (courtesy of BrunoLM answer) I am not thinking this code actually upgrades your npm version below Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force Run PowerShell as administrator npm i -g npm // This works uninstall/ reinstall, or manually delete files and folders. I have zero desire to run an EXE file or MSI file. Like some people, I needed to combine multiple answers, and I also needed to set a proxy. Note: some users still report issues updating npm with npm, but I haven't had that experience with v16+.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |