Skip to content

Commit

Permalink
Add note about --unsafe-perm
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
alexbain committed May 23, 2016
1 parent 87050a2 commit b78c081
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b78c081

Please sign in to comment.