Skip to content

Installation failed (NodeJs 9.9.0) #26

@maximang

Description

@maximang

Hi,

I tried to install this Homebridge Plugin on my Raspberry Pi Zero running the latest version of NodeJs and Homebridge, but it's not working.

Here is what I see in the console:

pi@raspberrypi:~/.homebridge $ sudo npm install -g homebridge-soundtouch

mdns@2.4.0 install /usr/local/lib/node_modules/homebridge-soundtouch/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.50+
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-> > gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/homebridge-soundtouch/node_modules/mdns
gyp ERR! node -v v9.9.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
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-22T19_55_06_071Z-debug.log`

And the 2018-07-22T19_55_06_071Z-debug.log file:
https://pastebin.com/Jc6Yy8LS

Do you have any idea of what could be the problem?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions