node and sudo: now kiss

Getting permission errors when installing a module?

Are ‘sudo: node: command not found’ errors taking away your precious sleeping hours?

Remove any trace of node on your system, and reinstall it. It will suit your pain:

adapted from here

Your one/two steps/commands away from success. Just replace /path/to/your/home/ with the absolute path to your home directory (leaving the rest of the path as is):

now kiss