mirror of
https://github.com/mtan93/homebridge.git
synced 2026-03-08 05:31:55 +00:00
Add note about --unsafe-perm
I received the following error when trying to install homebridge on a RaspberryPi. Assuming I'm not the first or the last to see this error, I thought adding a note to README about the --unsafe-perm flag would aid others.
This commit is contained in:
@@ -31,6 +31,10 @@ Homebridge is published through [NPM](https://www.npmjs.com/package/homebridge)
|
||||
|
||||
sudo npm install -g homebridge
|
||||
|
||||
You may need to use the `--unsafe-perm` flag if you receive an error similar to this:
|
||||
|
||||
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/5.5.0"
|
||||
|
||||
Now you should be able to run Homebridge:
|
||||
|
||||
$ homebridge
|
||||
|
||||
Reference in New Issue
Block a user