Fragen? Antworten! Siehe auch: Alternativlos
By using sudo npm on a non-root user (root users do not have the same effect), filesystem permissions are being modified. For example, if I run sudo npm --help or sudo npm update -g, all commands starting with sudo npm cause my filesystem to change ownership of directories such as /etc, /usr, /boot, and other critical directories needed for running the system to the current user running the command.
Schon echt Qualität, dieses Node. Da weiß man doch, wieso man von PHP umgestiegen ist! (Danke, Gregor)