This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Hi all, I'm very new to linux and I don't know what I'm doing. I tried to google a lot before coming on here (I even used chat-gpt and usually that's very helpful) but I can't figure it out.
I installed homebridge on a machine that is running Debian. I'm now trying to install addons but no matter what add-on I try to install, I get a similar error. I think it might be because homebridge doesn't have enough access to install the add-on but I don't know how to give homebridge that access... What commands do I have to type on the Debian terminal to do this. Any help is appreciated, thank you :)
USER: homebridge
DIR: /var/lib/homebridge
CMD: npm install --save [email protected]
npm ERR! code EACCES
npm ERR! syscall mkdir
npm ERR! path /nonexistent
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, mkdir '/nonexistent'
npm ERR! [Error: EACCES: permission denied, mkdir '/nonexistent'] {
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'mkdir',
npm ERR! path: '/nonexistent'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.
npm ERR! Log files were not written due to an error writing to the directory: /nonexistent/.npm/_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
Operation failed. Please review log for details.
Subreddit
Post Details
- Posted
- 1 year ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/homebridge/...