Can't add my first accessory to Homebridge
hayesmccarty opened this issue · 5 comments
Current Situation
Downloaded Homebridge on my iMac and tried to add both the ring and ADT accessories. In both instances I got an error message 243 and an error EACCES. Please help. I am not a coder and can't understand what to do next. I have searched all the help and support files on the Homebridge site but can't find any answers.
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/199dbfe0
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-19T19_08_01_655Z-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
v4.55.1
Homebridge Version
v1.7.0
Node.js Version
v18.0
Operating System
macOS
Environment Info
None
Raspberry Pi Model
None
Did you try
sudo chown -R 501:20 "/Users/hayesmccarty/.npm"
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been closed as no further activity has occurred.