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:
Alex Bain
2016-05-22 18:01:32 -07:00
parent 87050a2267
commit b78c081cd4

View File

@@ -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