@Mykle1 said in Error when running sudo npm install. magicmirror@2.3.1 cd vendor && yon install (wd=/home/pi/MagicMirror):
I could be mistaken but I believe that using sudo
npm install
can cause problems. Installation of MM and its dependencies should be done as a normal user.For what it’s worth.
Good point. I just saw his sudo npm install
and followed along without thinking.
You can try to uninstall stylelint again with npm uninstall stylelint
(with or without sudo , whatever works) and install it again without the sudo command.
If this does not yield any success in this issue someone fixed a similar warning (https://github.com/KraigM/homebridge-harmonyhub/issues/97).
Never the less this shouldn’t all be necessary. Maybe it’s time to start over frech again and really be cautious about every step you do.