简体   繁体   中英

Problems with Node npm on Ubuntu 12.04

I downloaded node a week ago and it was running fine, except today I realized that the version was far outdated. I tried to uninstall node and npm manually by deleting files (read a different stackoverflow question), but node still runs as well as npm.

How do I successfully uninstall both of them and install the correct versions of them?

You could type

which node

in your terminal to see where node is installed. Same with npm. Remove those files. I really like installing node using nvm .

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