node.js - How to remove every file of nodejs -


i had problem installation of express. problem had 2 version installed in 2 different directory. tried uninstall 2 versions deleting files of node , directory node_module. installed 1 more time node, npm doesn't work:

/usr/bin/npm: /usr/bin/nodejs: bad interpreter: no such file or directory

what have do? thinked best way remove every files of nodejs , reinstall it, don't know how.

you installed node without removing older version had installed. can follow instructions given here remove nodejs fies :https://npmjs.org/doc/removing-npm.html

after doing above hash -r remove npm location hashmap, before reinstalling it.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -