homebridge/homebridge-config-ui-x

Can't add my first plugin (ring) to homebreidge

hayesmccarty opened this issue · 2 comments

Current Situation

I installed homebridge on my iMac and was told that before I can add it to my apple HomeKit, I need to first add a plugin. I tried to add ring for my ring camera. I have tried several times (and restarted homebridge as well) and keep getting the same error message. I tried to find a solution on the support url that was shown in the log but couldn't resolve the issue.
Thanks

Logs

USER: hayesmccarty
DIR: /usr/local
CMD: npm install -g homebridge-ring@12.1.0

npm ERR! code EACCES
npm ERR! syscall open
npm ERR! path /Users/hayesmccarty/.npm/_cacache/tmp/10148b72
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/hayesmccarty/.npm"

npm ERR! A complete log of this run can be found in: /Users/hayesmccarty/.npm/_logs/2024-02-18T19_03_47_941Z-debug-0.log

Operation failed with code 243.
You can download this log file for future reference.
See https://github.com/homebridge/homebridge-config-ui-x/wiki/Troubleshooting for help.

Config

No response

Homebridge UI Version

iOS

Homebridge Version

iOS

Node.js Version

v18

Operating System

macOS

Environment Info

None

Raspberry Pi Model

None