简体   繁体   中英

Upgrade / Uninstall NodeJS on Windows

Somehow node version v0.12.2 got installed on my Windows machine and I'd like to upgrade to a newer version, however, it is not in the "Add or Remove Programs" menu.

When I try to install node from the Windows MSI, I get the standard windows 1603 error (below), which I am assuming means windows thinks that this application is already installed.

MSI (s) (64:84): Windows Installer installed the product. Product Name: Node.js. Product Version: 6.11.0. Product Language: 1033. Manufacturer: Node.js Foundation. Installation success or error status: 1603.

Any ideas? I've tried lots of things like this and this with no luck.

I am trying to install an npm package that depends on a higher version of node and striking out.

Man, I had this same issue a long time ago and it was really a pain to discover what I should do. Just download the .msi related to the version installed on your machine from here:

https://nodejs.org/en/download/releases/

Execute the downloaded .msi, and from there, choose to uninstall.

I installed Node Version Manager for Windows and it recognized this installation of Node. I was able to install alternate versions of node from here. It also recognized my current installation of node and was able to facilitate an "uninstallation" without going through the windows "add/remove programs" feature.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM