Skip to content

Instantly share code, notes, and snippets.

@jakedowns
Created October 12, 2012 18:31
Show Gist options
  • Save jakedowns/3880706 to your computer and use it in GitHub Desktop.
Save jakedowns/3880706 to your computer and use it in GitHub Desktop.
NPM Error. :I
vagrant@precise32:/vagrant/sites/all/modules/nodejs$ sudo npm install socket.io
npm http GET https://registry.npmjs.org/socket.io
npm http 304 https://registry.npmjs.org/socket.io
npm http GET https://registry.npmjs.org/redis/0.7.2
npm http GET https://registry.npmjs.org/socket.io-client/0.9.10
npm http GET https://registry.npmjs.org/policyfile/0.0.4
npm http 304 https://registry.npmjs.org/socket.io-client/0.9.10
npm http 304 https://registry.npmjs.org/redis/0.7.2
npm http 304 https://registry.npmjs.org/policyfile/0.0.4
npm http GET https://registry.npmjs.org/hiredis
npm http 304 https://registry.npmjs.org/hiredis
npm WARN package.json [email protected] No README.md file found!
> [email protected] preinstall /vagrant/sites/all/modules/nodejs/node_modules/socket.io/node_modules/redis/node_modules/hiredis
> make || gmake
cd deps/hiredis && make static
make[1]: Entering directory `/vagrant/sites/all/modules/nodejs/node_modules/socket.io/node_modules/redis/node_modules/hiredis/deps/hiredis'
cc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb net.c
cc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb hiredis.c
cc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb sds.c
cc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb async.c
ar rcs libhiredis.a net.o hiredis.o sds.o async.o
make[1]: Leaving directory `/vagrant/sites/all/modules/nodejs/node_modules/socket.io/node_modules/redis/node_modules/hiredis/deps/hiredis'
node-waf configure build
Setting srcdir to : /vagrant/sites/all/modules/nodejs/node_modules/socket.io/node_modules/redis/node_modules/hiredis
Setting blddir to : /vagrant/sites/all/modules/nodejs/node_modules/socket.io/node_modules/redis/node_modules/hiredis/build
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
npm http GET https://registry.npmjs.org/xmlhttprequest/1.4.2
Checking for program ranlib : /usr/bin/ranlib
npm http GET https://registry.npmjs.org/uglify-js/1.2.5
Checking for g++ : ok
Checking for node path : not found
Checking for node prefix : ok /home/vagrant/nvm/v0.8.12
npm http GET https://registry.npmjs.org/ws
npm http GET https://registry.npmjs.org/active-x-obfuscator/0.0.1
'configure' finished successfully (0.218s)
Waf: Entering directory `/vagrant/sites/all/modules/nodejs/node_modules/socket.io/node_modules/redis/node_modules/hiredis/build'
[1/3] cxx: hiredis.cc -> build/Release/hiredis_1.o
[2/3] cxx: reader.cc -> build/Release/reader_1.o
npm http 304 https://registry.npmjs.org/xmlhttprequest/1.4.2
npm http 304 https://registry.npmjs.org/uglify-js/1.2.5
[3/3] cxx_link: build/Release/hiredis_1.o build/Release/reader_1.o -> build/Release/hiredis.node
Waf: Leaving directory `/vagrant/sites/all/modules/nodejs/node_modules/socket.io/node_modules/redis/node_modules/hiredis/build'
'build' finished successfully (1.030s)
npm http 304 https://registry.npmjs.org/ws
npm http 304 https://registry.npmjs.org/active-x-obfuscator/0.0.1
npm http GET https://registry.npmjs.org/zeparser/0.0.5
npm http 304 https://registry.npmjs.org/zeparser/0.0.5
npm http GET https://registry.npmjs.org/commander
npm http GET https://registry.npmjs.org/tinycolor
npm http GET https://registry.npmjs.org/options
npm http 304 https://registry.npmjs.org/options
npm http 304 https://registry.npmjs.org/tinycolor
npm http 304 https://registry.npmjs.org/commander
npm ERR! Error: ENOENT, open '/vagrant/sites/all/modules/nodejs/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue27.js'
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <[email protected]>
npm ERR! System Linux 3.2.0-23-generic-pae
npm ERR! command "/home/vagrant/nvm/v0.8.12/bin/node" "/home/vagrant/nvm/v0.8.12/bin/npm" "install" "socket.io"
npm ERR! cwd /vagrant/sites/all/modules/nodejs
npm ERR! node -v v0.8.12
npm ERR! npm -v 1.1.63
npm ERR! path /vagrant/sites/all/modules/nodejs/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/test/unit/compress/expected/issue27.js
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! Error: EROFS, symlink '../ws/bin/wscat'
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <[email protected]>
npm ERR! System Linux 3.2.0-23-generic-pae
npm ERR! command "/home/vagrant/nvm/v0.8.12/bin/node" "/home/vagrant/nvm/v0.8.12/bin/npm" "install" "socket.io"
npm ERR! cwd /vagrant/sites/all/modules/nodejs
npm ERR! node -v v0.8.12
npm ERR! npm -v 1.1.63
npm ERR! path ../ws/bin/wscat
npm ERR! code EROFS
npm ERR! errno 56
npm ERR! Error: ENOENT, lstat '/vagrant/sites/all/modules/nodejs/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser/benchmark.html'
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <[email protected]>
npm ERR! System Linux 3.2.0-23-generic-pae
npm ERR! command "/home/vagrant/nvm/v0.8.12/bin/node" "/home/vagrant/nvm/v0.8.12/bin/npm" "install" "socket.io"
npm ERR! cwd /vagrant/sites/all/modules/nodejs
npm ERR! node -v v0.8.12
npm ERR! npm -v 1.1.63
npm ERR! path /vagrant/sites/all/modules/nodejs/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser/benchmark.html
npm ERR! fstream_path /vagrant/sites/all/modules/nodejs/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/node_modules/zeparser/benchmark.html
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack Writer._finish.er.fstream_finish_call (/home/vagrant/nvm/v0.8.12/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26)
npm ERR! fstream_stack Object.oncomplete (fs.js:297:15)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /vagrant/sites/all/modules/nodejs/npm-debug.log
npm ERR! not ok code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment