Hey zusammen,
ich bin neu hier und auch neu in diesem Thema.
Auf meinem MacMini habe ich die Homebridge erfolgreich installiert. Leider kann ich keine Plugins installieren und bekommen immer folgende Fehlermeldung:
DIR: /usr/local
CMD: npm install -g [email protected]
npm ERR! code EACCES
npm ERR! syscall open
npm ERR! path /Users/thomaskampmann/.npm/_cacache/tmp/f5b641b6
npm ERR! errno -13
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
npm ERR! sudo chown -R 501:20 "/Users/thomaskampmann/.npm"
npm ERR! A complete log of this run can be found in: /Users/thomaskampmann/.npm/_logs/2023-11-24T09_47_06_008Z-debug-0.log
Operation failed. Please review log for details.
Warum ist das so und wie kann ich es lösen? Ich habe schon mehrere Stunden nach einer Antwort gesucht aber nichts gefunden was mir hilft.
Homebridge Version v1.7.0
Hat das etwas mit den Rechten zu tun bei meinem Mac?
Wer kann mir helfen?
Viele Grüße
Thomas