NPM install broken #518

Closed
tanepiper opened this Issue Feb 7, 2013 · 1 comment

Comments

Projects
None yet
3 participants

This is breaking the install of other modules relying on it too:

╰─○ sudo npm install -g socket.io-client
npm http GET https://registry.npmjs.org/socket.io-client
npm http 304 https://registry.npmjs.org/socket.io-client
npm http GET https://registry.npmjs.org/uglify-js/1.2.5
npm http GET https://registry.npmjs.org/ws
npm http GET https://registry.npmjs.org/xmlhttprequest/1.4.2
npm http GET https://registry.npmjs.org/active-x-obfuscator/0.0.1
npm http 304 https://registry.npmjs.org/active-x-obfuscator/0.0.1
npm http 304 https://registry.npmjs.org/ws
npm http 304 https://registry.npmjs.org/uglify-js/1.2.5
npm http 304 https://registry.npmjs.org/xmlhttprequest/1.4.2
npm http GET https://registry.npmjs.org/zeparser/0.0.5
npm http GET https://registry.npmjs.org/tinycolor
npm http GET https://registry.npmjs.org/commander
npm http GET https://registry.npmjs.org/options
npm http 304 https://registry.npmjs.org/zeparser/0.0.5
npm http 304 https://registry.npmjs.org/options
npm http 304 https://registry.npmjs.org/tinycolor
npm http 304 https://registry.npmjs.org/commander

ws@0.4.25 install /usr/local/lib/node_modules/socket.io-client/node_modules/ws
(node-gyp rebuild 2> builderror.log) || (exit 0)

npm ERR! TypeError: options.uid should be a number
npm ERR! at ChildProcess.spawn (child_process.js:782:24)
npm ERR! at Object.exports.spawn (child_process.js:618:9)
npm ERR! at spawn (/usr/lib/node_modules/npm/lib/utils/exec.js:103:22)
npm ERR! at exec (/usr/lib/node_modules/npm/lib/utils/exec.js:40:12)
npm ERR! at /usr/lib/node_modules/npm/lib/utils/lifecycle.js:146:5
npm ERR! at process.startup.processNextTick.process._tickCallback (node.js:244:9)
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 Darwin 12.2.0
npm ERR! command "node" "/usr/bin/npm" "install" "-g" "socket.io-client"
npm ERR! cwd /Users/freeagent/build/node-v0.8.19
npm ERR! node -v v0.8.19
npm ERR! npm -v 1.1.16
npm ERR! message options.uid should be a number
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/freeagent/build/node-v0.8.19/npm-debug.log
npm not ok

It's an npm bug, update to 1.1.21 or higher for the fix.

rauchg closed this Nov 25, 2014

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