macnow / homebridge-platform-orvibo

Orvibo Smart Socket plugin for Homebridge
17 stars 14 forks source link

unable to install #8

Open PJDamen opened 7 years ago

PJDamen commented 7 years ago

Repeatedly getting the following message in my logs:

user "nobody" does not have permission to access the dev dir "/usr/local/lib/node_modules/homebridge-platform-orvibo/node_modules/sleep/.node-gyp/8.4.0

PJDamen commented 7 years ago

And when running as high privalege:

2017-09-25 11:07:40 stdout at bootstrap_node.js:598:3
2017-09-25 11:07:40 stdout at startup (bootstrap_node.js:158:16)
2017-09-25 11:07:40 stdout at Function.Module.runMain (module.js:611:11)
2017-09-25 11:07:40 stdout at process._tickCallback (internal/process/next_tick.js:180:9)
2017-09-25 11:07:40 stdout at _combinedTickCallback (internal/process/next_tick.js:141:11)
2017-09-25 11:07:40 stdout at _handle.lookup (dgram.js:242:18)
2017-09-25 11:07:40 stdout at _exceptionWithHostPort (util.js:1064:20)
2017-09-25 11:07:40 stdout at Object._errnoException (util.js:1041:11)
2017-09-25 11:07:40 stdout Error: bind EADDRINUSE 0.0.0.0:10000
2017-09-25 11:07:40 stdout  
2017-09-25 11:07:40 stdout ^
2017-09-25 11:07:40 stdout throw er; // Unhandled 'error' event
2017-09-25 11:07:40 stdout events.js:182
mrvj commented 6 years ago

I had a similar problem, try: sudo npm install --unsafe-perm --verbose -g homebridge-platform-orvibo

Kerry-G commented 5 years ago

I had the same issue, and it work when i used node 8