Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Installing on Pi 3 #49

Open
lswee opened this issue Jul 1, 2018 · 2 comments
Open

Error Installing on Pi 3 #49

lswee opened this issue Jul 1, 2018 · 2 comments

Comments

@lswee
Copy link

lswee commented Jul 1, 2018

Not sure why I'm getting this, have installed many other plugins without issue...

pi@raspberrypi:~ $ sudo npm i homebridge-dacp

mdns@2.4.0 install /home/pi/node_modules/mdns
node-gyp rebuild

gyp ERR! clean error
gyp ERR! stack Error: EACCES: permission denied, rmdir 'build'
gyp ERR! System Linux 4.14.34-v7+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/node_modules/mdns
gyp ERR! node -v v8.11.2
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
npm WARN pi No description
npm WARN pi No repository field.
npm WARN pi No README data
npm WARN pi No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! mdns@2.4.0 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mdns@2.4.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-07-01T12_44_03_790Z-debug.log

@BerkTam
Copy link

BerkTam commented Jul 23, 2018

I have the same issue when trying to install dacp on a raspberry pi zero.

Is there any chance to get this issue solved?

@lswee
Copy link
Author

lswee commented Aug 20, 2018

I found a fix here https://github.com/KhaosT/HAP-NodeJS/issues/77

sudo apt-get install libavahi-compat-libdnssd-dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants