How can I completely uninstall nodejs, npm and node in Ubuntu [closed]
Then go to /etc/apt/sources.list.d and remove any node list if you have. Then do a Check for any .npm or .node folder in your home folder and delete those. If you type you can see the location of the node. Try which nodejs and which npm too. I would recommend installing node using Node Version Manager(NVM). That saved a lot of headache for me. You … Read more