Skip to content

Instantly share code, notes, and snippets.

@deedubs
Created February 16, 2012 16:26
Show Gist options
  • Select an option

  • Save deedubs/1846218 to your computer and use it in GitHub Desktop.

Select an option

Save deedubs/1846218 to your computer and use it in GitHub Desktop.
Hook.io Install failed
sudo npm -g i hook.io
npm http GET https://registry.npmjs.org/hook.io
npm http 304 https://registry.npmjs.org/hook.io
npm http GET https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/eventemitter2
npm http GET https://registry.npmjs.org/nconf
npm http GET https://registry.npmjs.org/pkginfo
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/semver
npm http GET https://registry.npmjs.org/prompt
npm http GET https://registry.npmjs.org/portfinder
npm http GET https://registry.npmjs.org/weak
npm http GET https://registry.npmjs.org/socket.io/0.8.6
npm http GET https://registry.npmjs.org/lazy
npm http GET https://registry.npmjs.org/traverse
npm http GET https://registry.npmjs.org/dnode-protocol
npm http GET https://registry.npmjs.org/jsonify
npm http GET https://registry.npmjs.org/mdns
npm http GET https://registry.npmjs.org/winston
npm http GET https://github.com/substack/socket.io-client/tarball/master
npm http GET https://registry.npmjs.org/npm
npm http 304 https://registry.npmjs.org/optimist
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/colors
npm http 304 https://registry.npmjs.org/nconf
npm http 304 https://registry.npmjs.org/eventemitter2
npm http 304 https://registry.npmjs.org/semver
npm http 304 https://registry.npmjs.org/prompt
npm http 304 https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/pkginfo
npm http 304 https://registry.npmjs.org/portfinder
npm http 200 https://github.com/substack/socket.io-client/tarball/master
npm http 304 https://registry.npmjs.org/socket.io/0.8.6
npm http 304 https://registry.npmjs.org/weak
npm http 304 https://registry.npmjs.org/dnode-protocol
npm http 304 https://registry.npmjs.org/traverse
npm http 304 https://registry.npmjs.org/lazy
npm http 304 https://registry.npmjs.org/npm
npm http 304 https://registry.npmjs.org/jsonify
npm http 304 https://registry.npmjs.org/winston
npm http 304 https://registry.npmjs.org/mdns
npm http GET https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/mkdirp
> weak@0.1.5 preinstall /usr/local/lib/node_modules/hook.io/node_modules/weak
> node build.js
npm http GET https://registry.npmjs.org/wordwrap
Nothing to clean (project not configured)
npm http 304 https://registry.npmjs.org/wordwrap
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : not found
Checking for node prefix : ok /usr/local
'configure' finished successfully (0.047s)
Waf: Entering directory `/usr/local/lib/node_modules/hook.io/node_modules/weak/build'
[1/2] cxx: src/weakref.cc -> build/Release/src/weakref_1.o
> mdns@0.0.5 preinstall /usr/local/lib/node_modules/hook.io/node_modules/mdns
> node-waf clean || (exit 0); node-waf configure build
npm http GET https://registry.npmjs.org/ini
Nothing to clean (project not configured)
npm http 304 https://registry.npmjs.org/ini
npm http GET https://registry.npmjs.org/ini/-/ini-1.0.2.tgz
npm http GET https://registry.npmjs.org/policyfile/0.0.4
npm http GET https://registry.npmjs.org/redis/0.6.7
[2/2] cxx_link: build/Release/src/weakref_1.o -> build/Release/weakref.node
Setting srcdir to : /usr/local/lib/node_modules/hook.io/node_modules/mdns
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : not found
Checking for node prefix : ok /usr/local
Checking for header dns_sd.h : npm http 200 https://registry.npmjs.org/ini/-/ini-1.0.2.tgz
Waf: Leaving directory `/usr/local/lib/node_modules/hook.io/node_modules/weak/build'
'build' finished successfully (0.453s)
npm http 304 https://registry.npmjs.org/policyfile/0.0.4
npm http 304 https://registry.npmjs.org/redis/0.6.7
npm http GET https://registry.npmjs.org/redis/-/redis-0.6.7.tgz
not found
/usr/local/lib/node_modules/hook.io/node_modules/mdns/wscript:28: error: the configuration failed (see '/usr/local/lib/node_modules/hook.io/node_modules/mdns/out/config.log')
npm http GET https://registry.npmjs.org/policyfile/-/policyfile-0.0.4.tgz
npm ERR! error installing mdns@0.0.5
npm ERR! error installing hook.io@0.8.7-1
npm http 200 https://registry.npmjs.org/redis/-/redis-0.6.7.tgz
npm http 200 https://registry.npmjs.org/policyfile/-/policyfile-0.0.4.tgz
npm ERR! Error: ENOENT, no such file or directory '/usr/local/lib/node_modules/hook.io/node_modules/___socket.io-client.npm/package/lib/vendor/web-socket-js/README.md'
npm ERR! You may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <npm-@googlegroups.com>
npm ERR!
npm ERR! System Linux 3.0.4-linode38
npm ERR! command "node" "/usr/local/bin/npm" "-g" "i" "hook.io"
npm ERR! cwd /home/deedubs
npm ERR! node -v v0.6.7
npm ERR! npm -v 1.1.1
npm ERR! path /usr/local/lib/node_modules/hook.io/node_modules/___socket.io-client.npm/package/lib/vendor/web-socket-js/README.md
npm ERR! fstream_path /usr/local/lib/node_modules/hook.io/node_modules/___socket.io-client.npm/package/lib/vendor/web-socket-js/README.md
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! message ENOENT, no such file or directory '/usr/local/lib/node_modules/hook.io/node_modules/___socket.io-client.npm/package/lib/vendor/web-socket-js/README.md'
npm ERR! errno {}
npm ERR! fstream_stack Object.oncomplete (/usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:204:26)
npm ERR! Error: ENOENT, no such file or directory '/usr/local/lib/node_modules/hook.io/node_modules/___npm.npm/package/scripts/clean-old.sh'
npm ERR! You may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <npm-@googlegroups.com>
npm ERR!
npm ERR! System Linux 3.0.4-linode38
npm ERR! command "node" "/usr/local/bin/npm" "-g" "i" "hook.io"
npm ERR! cwd /home/deedubs
npm ERR! node -v v0.6.7
npm ERR! npm -v 1.1.1
npm ERR! path /usr/local/lib/node_modules/hook.io/node_modules/___npm.npm/package/scripts/clean-old.sh
npm ERR! fstream_path /usr/local/lib/node_modules/hook.io/node_modules/___npm.npm/package/scripts/clean-old.sh
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! message ENOENT, no such file or directory '/usr/local/lib/node_modules/hook.io/node_modules/___npm.npm/package/scripts/clean-old.sh'
npm ERR! errno {}
npm ERR! fstream_stack Object.oncomplete (/usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:204:26)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/deedubs/npm-debug.log
npm not ok
@0b1kn00b

Copy link
Copy Markdown

try:
sudo apt-get install libavahi-compat-libdnssd-dev
There are missing headers dns_sd.h required by mdns

@deedubs

deedubs commented Feb 20, 2012 via email

Copy link
Copy Markdown
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment