Node: homebridge

Created on 24 Feb 2016  ·  2Comments  ·  Source: nodejs/node

_Thanks for wanting to report an issue you've found in Node.js. Please delete
this text and fill in the template below. If unsure about something, just do as
best as you're able._

_Note that it will be much easier for us to fix the issue if a test case that
reproduces the problem is provided. Ideally this test case should not have any
external dependencies. We understand that it is not always possible to reduce
your code to a small test case, but we would appreciate to have as much data as
possible. Thank you!_

  • Version: _output of node -v_
  • Platform: _either uname -a output, or if Windows, version and 32-bit or
    64-bit_
  • Subsystem: _optional. if known - please specify affected core module Samuels-Mini:~ samuelstrong$ sudo npm install -g homebridge
    Password:
    /usr/local/bin/homebridge -> /usr/local/lib/node_modules/homebridge/bin/homebridge

[email protected] install /usr/local/lib/node_modules/homebridge/node_modules/mdns
node-gyp rebuild

/usr/local/lib/node_modules/npm/bin/node-gyp-bin/node-gyp: line 3: node: command not found
/usr/local/lib
└── (empty)

npm ERR! Darwin 15.3.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "homebridge"
npm ERR! node v5.7.0
npm ERR! npm v3.6.0
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn

npm ERR! [email protected] install: node-gyp rebuild
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the mdns package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs mdns
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls mdns
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/samuelstrong/npm-debug.log
npm ERR! code 1
Samuels-Mini:~ samuelstrong$

invalid

Most helpful comment

Good thing we have that template now :P

All 2 comments

Pasting in output from your terminal and clicking a button is not really an optimal way to get help, particularly when you're given helpful hints for how to file a real issue.

You can either open an issue in the help repo with an actual question: https://github.com/nodejs/help, or, for a greater likelihood of success, ask the creators of the project that you're having trouble with.

Good thing we have that template now :P

Was this page helpful?
0 / 5 - 0 ratings