Fügen Sie NPM zu $ path Ubuntu hinzu
sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}
Smoggy Skipper
sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}