I got weired error when use Node.js on my server.

The npm, node commands exist, but nothing happen after I run them.

Only reinstall can’t solve problem you need run this:

apt-get remove node
apt-get autoremove
apt-get install nodejs-legacy

Comments