You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Someone stated that it might be a time error, checked that date is correct.
node-gyp rebuild fails: sudo node-gyp rebuild /usr/bin/env: ‘node’: No such file or directory
Checked all components: sudo apt-get install build-essential libavahi-compat-libdnssd-dev git Reading package lists... Done Building dependency tree Reading state information... Done build-essential is already the newest version (12.1ubuntu2). libavahi-compat-libdnssd-dev is already the newest version (0.6.32~rc+dfsg-1ubuntu2). git is already the newest version (1:2.7.4-0ubuntu1.3). 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
sudo apt-get install nodejs npm git-core libnss-mdns libavahi-compat-libdnssd-dev Reading package lists... Done Building dependency tree Reading state information... Done libavahi-compat-libdnssd-dev is already the newest version (0.6.32~rc+dfsg-1ubuntu2). libnss-mdns is already the newest version (0.10-7). npm is already the newest version (3.5.2-0ubuntu4). git-core is already the newest version (1:2.7.4-0ubuntu1.3). nodejs is already the newest version (4.2.6~dfsg-1ubuntu4.1). 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Install error
`
npm i homebridge -g
▐ ╢░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
loadRequestedDeps ▐ ╢███████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
loadDep:qrcode-terminal → ▄ ╢███████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
/usr/local/bin/homebridge -> /usr/local/lib/node_modules/homebridge/bin/homebridge
npm ERR! mdns@2.3.4 install: node-gyp rebuild
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the mdns@2.3.4 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! /home/calle/node_modules/node-gyp/npm-debug.log
npm ERR! code 1
`
The text was updated successfully, but these errors were encountered:
Trying to install on vanilla Ubuntu
Someone stated that it might be a time error, checked that date is correct.
node-gyp rebuild fails:
sudo node-gyp rebuild /usr/bin/env: ‘node’: No such file or directory
Checked all components:
sudo apt-get install build-essential libavahi-compat-libdnssd-dev git Reading package lists... Done Building dependency tree Reading state information... Done build-essential is already the newest version (12.1ubuntu2). libavahi-compat-libdnssd-dev is already the newest version (0.6.32~rc+dfsg-1ubuntu2). git is already the newest version (1:2.7.4-0ubuntu1.3). 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
sudo apt-get install nodejs npm git-core libnss-mdns libavahi-compat-libdnssd-dev Reading package lists... Done Building dependency tree Reading state information... Done libavahi-compat-libdnssd-dev is already the newest version (0.6.32~rc+dfsg-1ubuntu2). libnss-mdns is already the newest version (0.10-7). npm is already the newest version (3.5.2-0ubuntu4). git-core is already the newest version (1:2.7.4-0ubuntu1.3). nodejs is already the newest version (4.2.6~dfsg-1ubuntu4.1). 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Install error
`
npm i homebridge -g
▐ ╢░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
loadRequestedDeps ▐ ╢███████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
loadDep:qrcode-terminal → ▄ ╢███████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
/usr/local/bin/homebridge -> /usr/local/lib/node_modules/homebridge/bin/homebridge
/usr/bin/env: ‘node’: No such file or directory
/usr/local/lib
└── (empty)
npm ERR! Linux 4.4.0-87-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "i" "homebridge" "-g"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! mdns@2.3.4 install:
node-gyp rebuild
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the mdns@2.3.4 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! /home/calle/node_modules/node-gyp/npm-debug.log
npm ERR! code 1
`
The text was updated successfully, but these errors were encountered: