Node wasn't letting me install new modules throwing at me an EACCESS: permission denied
error every time.
This did it, it can work in other use cases as well, this one lets you install global packages, but you can change the directory to whichever:
$ sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}