Skip to content

Instantly share code, notes, and snippets.

@abrkn abrkn/gist:2880697
Created Jun 6, 2012

Embed
What would you like to do?
info it worked if it ends with ok
verbose cli [ 'node', '/usr/bin/npm', 'install', '-g', 'daemon' ]
info using npm@1.1.4
info using node@v0.6.17
verbose /usr/local/bin/node node symlink
verbose config file /root/.npmrc
verbose config file /usr/local/etc/npmrc
verbose config file /usr/share/npm/npmrc
silly exec /usr/local/bin/node "/usr/share/npm/bin/npm-get-uid-gid.js" "nobody" 0
silly spawning [ '/usr/local/bin/node',
silly spawning [ '/usr/share/npm/bin/npm-get-uid-gid.js', 'nobody', 0 ],
silly spawning null ]
silly output from getuid/gid {"uid":65534,"gid":0}
silly output from getuid/gid
verbose cache add [ 'daemon', null ]
silly cache add: name, spec, args [ undefined, 'daemon', [ 'daemon', null ] ]
verbose parsed url { pathname: 'daemon', path: 'daemon', href: 'daemon' }
verbose addNamed [ 'daemon', '' ]
verbose addNamed [ null, '' ]
silly name, range, hasData [ 'daemon', '', false ]
verbose raw, before any munging daemon
verbose url resolving [ 'https://registry.npmjs.org/', './daemon' ]
verbose url resolved https://registry.npmjs.org/daemon
verbose etag "3FSLCUUQP8M6F7334V898MDH6"
http GET https://registry.npmjs.org/daemon
http 304 https://registry.npmjs.org/daemon
silly get cb [ 304,
silly get cb { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
silly get cb etag: '"3FSLCUUQP8M6F7334V898MDH6"',
silly get cb date: 'Tue, 05 Jun 2012 16:17:34 GMT',
silly get cb 'content-length': '0' } ]
verbose etag daemon from cache
silly name, range, hasData 2 [ 'daemon', '', true ]
silly versions [ 'daemon',
silly versions [ '0.1.0', '0.3.0', '0.3.2', '0.4.0', '0.4.1', '0.5.0', '0.5.1' ] ]
verbose bin dist [ '0.6-ares1.7.5-evundefined-openssl1.0.1b-v83.8.9.20-linux-ia32-2.6.32-042stab049.6',
verbose bin dist { shasum: 'c16611b6f3057fd6c34c4c66ce60ad1cbc745ab6',
verbose bin dist tarball: 'http://registry.npmjs.org/daemon/-/daemon-0.5.1.tgz' } ]
verbose addRemoteTarball [ 'https://registry.npmjs.org/daemon/-/daemon-0.5.1.tgz',
verbose addRemoteTarball 'c16611b6f3057fd6c34c4c66ce60ad1cbc745ab6' ]
verbose mkdir (expected) error ENOENT, stat '/tmp/npm-1338913054130'
verbose mkdir (expected) error ENOENT, stat '/tmp/npm-1338913054130/1338913054130-0.5856684357859194'
verbose mkdir done: /tmp/npm-1338913054130/1338913054130-0.5856684357859194 755
verbose fetch to /tmp/npm-1338913054130/1338913054130-0.5856684357859194/tmp.tgz
http GET https://registry.npmjs.org/daemon/-/daemon-0.5.1.tgz
http 200 https://registry.npmjs.org/daemon/-/daemon-0.5.1.tgz
silly updated sha bytes 7544
info shasum c16611b6f3057fd6c34c4c66ce60ad1cbc745ab6
info shasum /tmp/npm-1338913054130/1338913054130-0.5856684357859194/tmp.tgz
verbose mkdir (expected) error ENOENT, stat '/tmp/npm-1338913054130/1338913054130-0.5856684357859194/___package.npm'
verbose mkdir done: /tmp/npm-1338913054130/1338913054130-0.5856684357859194/___package.npm 755
verbose unpack_ uid, gid [ 0, 0 ]
verbose unpackTarget /tmp/npm-1338913054130/1338913054130-0.5856684357859194/package
silly gunzTarPerm modes [ '755', '644' ]
silly afterUntar ok
silly asyncMap in gTP /tmp/npm-1338913054130/1338913054130-0.5856684357859194/___package.npm/package
silly asyncMap in gTP /tmp/npm-1338913054130/1338913054130-0.5856684357859194/___package.npm/package/README.md
silly asyncMap in gTP /tmp/npm-1338913054130/1338913054130-0.5856684357859194/___package.npm/package/.npmignore
silly asyncMap in gTP /tmp/npm-1338913054130/1338913054130-0.5856684357859194/___package.npm/package/wscript
silly asyncMap in gTP /tmp/npm-1338913054130/1338913054130-0.5856684357859194/___package.npm/package/install
silly asyncMap in gTP /tmp/npm-1338913054130/1338913054130-0.5856684357859194/___package.npm/package/package.json
silly asyncMap in gTP /tmp/npm-1338913054130/1338913054130-0.5856684357859194/___package.npm/package/LICENSE
silly asyncMap in gTP /tmp/npm-1338913054130/1338913054130-0.5856684357859194/___package.npm/package/src
silly asyncMap in gTP /tmp/npm-1338913054130/1338913054130-0.5856684357859194/___package.npm/package/src/daemon.cc
silly asyncMap in gTP /tmp/npm-1338913054130/1338913054130-0.5856684357859194/___package.npm/package/lib
silly asyncMap in gTP /tmp/npm-1338913054130/1338913054130-0.5856684357859194/___package.npm/package/lib/daemon.js
silly asyncMap in gTP /tmp/npm-1338913054130/1338913054130-0.5856684357859194/___package.npm/package/examples
silly asyncMap in gTP /tmp/npm-1338913054130/1338913054130-0.5856684357859194/___package.npm/package/examples/bindings.js
silly asyncMap in gTP /tmp/npm-1338913054130/1338913054130-0.5856684357859194/___package.npm/package/examples/wrapper.js
silly asyncMap in gTP /tmp/npm-1338913054130/1338913054130-0.5856684357859194/___package.npm/package/test
silly asyncMap in gTP /tmp/npm-1338913054130/1338913054130-0.5856684357859194/___package.npm/package/test/daemon-test.js
silly asyncMap in gTP /tmp/npm-1338913054130/1338913054130-0.5856684357859194/___package.npm/package/test/fixtures
silly asyncMap in gTP /tmp/npm-1338913054130/1338913054130-0.5856684357859194/___package.npm/package/test/fixtures/.gitkeep
verbose gunzed /tmp/npm-1338913054130/1338913054130-0.5856684357859194/___package.npm/package
verbose rm'ed /tmp/npm-1338913054130/1338913054130-0.5856684357859194/package
verbose renamed [ '/tmp/npm-1338913054130/1338913054130-0.5856684357859194/___package.npm/package',
verbose renamed '/tmp/npm-1338913054130/1338913054130-0.5856684357859194/package' ]
verbose has wscript [ undefined,
verbose has wscript { file: '/tmp/npm-1338913054130/1338913054130-0.5856684357859194/package/package.json',
verbose has wscript contributors: false,
verbose has wscript serverjs: false,
verbose has wscript wscript: true } ]
verbose caching /tmp/npm-1338913054130/1338913054130-0.5856684357859194/package/package.json
verbose loadDefaults daemon@0.5.1
verbose tarball contents [ 'package', 'tmp.tgz' ]
verbose from cache /tmp/npm-1338913054130/1338913054130-0.5856684357859194/package/package.json
verbose pack /tmp/npm-1338913054130/1338913054130-0.5856684357859194/package
verbose pack /tmp/npm-1338913054130/1338913054130-0.5856684357859194/package /root/.npm/daemon/0.5.1/package.tgz
silly makeList /tmp/npm-1338913054130/1338913054130-0.5856684357859194/package
silly dir, dirLen [ '/tmp/npm-1338913054130/1338913054130-0.5856684357859194/package',
silly dir, dirLen 64 ]
verbose tarball /root/.npm/daemon/0.5.1/package.tgz
verbose parent /tmp/npm-1338913054130/1338913054130-0.5856684357859194/package
verbose mkdir (expected) error ENOENT, stat '/root/.npm/daemon/0.5.1/___package.npm'
verbose mkdir done: /root/.npm/daemon/0.5.1/___package.npm 755
verbose unpack_ uid, gid [ 0, 0 ]
verbose unpackTarget /root/.npm/daemon/0.5.1/package
silly gunzTarPerm modes [ '755', '644' ]
silly afterUntar ok
silly asyncMap in gTP /root/.npm/daemon/0.5.1/___package.npm/package
silly asyncMap in gTP /root/.npm/daemon/0.5.1/___package.npm/package/README.md
silly asyncMap in gTP /root/.npm/daemon/0.5.1/___package.npm/package/.npmignore
silly asyncMap in gTP /root/.npm/daemon/0.5.1/___package.npm/package/wscript
silly asyncMap in gTP /root/.npm/daemon/0.5.1/___package.npm/package/install
silly asyncMap in gTP /root/.npm/daemon/0.5.1/___package.npm/package/package.json
silly asyncMap in gTP /root/.npm/daemon/0.5.1/___package.npm/package/LICENSE
silly asyncMap in gTP /root/.npm/daemon/0.5.1/___package.npm/package/src
silly asyncMap in gTP /root/.npm/daemon/0.5.1/___package.npm/package/src/daemon.cc
silly asyncMap in gTP /root/.npm/daemon/0.5.1/___package.npm/package/lib
silly asyncMap in gTP /root/.npm/daemon/0.5.1/___package.npm/package/lib/daemon.js
silly asyncMap in gTP /root/.npm/daemon/0.5.1/___package.npm/package/examples
silly asyncMap in gTP /root/.npm/daemon/0.5.1/___package.npm/package/examples/bindings.js
silly asyncMap in gTP /root/.npm/daemon/0.5.1/___package.npm/package/examples/wrapper.js
silly asyncMap in gTP /root/.npm/daemon/0.5.1/___package.npm/package/test
silly asyncMap in gTP /root/.npm/daemon/0.5.1/___package.npm/package/test/daemon-test.js
silly asyncMap in gTP /root/.npm/daemon/0.5.1/___package.npm/package/test/fixtures
silly asyncMap in gTP /root/.npm/daemon/0.5.1/___package.npm/package/test/fixtures/.gitkeep
verbose gunzed /root/.npm/daemon/0.5.1/___package.npm/package
verbose rm'ed /root/.npm/daemon/0.5.1/package
verbose renamed [ '/root/.npm/daemon/0.5.1/___package.npm/package',
verbose renamed '/root/.npm/daemon/0.5.1/package' ]
verbose has wscript [ undefined,
verbose has wscript { file: '/root/.npm/daemon/0.5.1/package/package.json',
verbose has wscript contributors: false,
verbose has wscript serverjs: false,
verbose has wscript wscript: true } ]
verbose caching /root/.npm/daemon/0.5.1/package/package.json
verbose loadDefaults daemon@0.5.1
silly updated sha bytes 7665
info shasum 0c4896837a8dd23dc66e0235a2afa9643cfe1e0a
info shasum /root/.npm/daemon/0.5.1/package.tgz
verbose from cache /root/.npm/daemon/0.5.1/package/package.json
verbose chmod /root/.npm/daemon/0.5.1/package.tgz 644
verbose chown [ '/root/.npm/daemon/0.5.1/package.tgz', 0, 0 ]
silly resolved [ { name: 'daemon',
silly resolved version: '0.5.1',
silly resolved description: 'Add-on for creating *nix daemons',
silly resolved author: { name: 'Arthur', email: 'arthur@norgic.com', url: 'Slashed' },
silly resolved contributors:
silly resolved [ { name: 'Pedro Teixeira', email: 'pedro.teixeira@gmail.com' },
silly resolved { name: 'Charlie Robbins', email: 'charlie.robbins@gmail.com' },
silly resolved { name: 'James Halliday', email: 'mail@substack.net' },
silly resolved { name: 'Zak Taylor', email: 'zak@dobl.com' },
silly resolved { name: 'Daniel Bartlett', email: 'dan@f-box.org' },
silly resolved { name: 'Charlie McConnell',
silly resolved email: 'charlie@charlieistheman.com' },
silly resolved { name: 'Josh Holbrook', email: 'josh@nodejitsu.com' } ],
silly resolved repository:
silly resolved { type: 'git',
silly resolved url: 'git://github.com/indexzero/daemon.node.git' },
silly resolved devDependencies: { vows: '0.6.x' },
silly resolved main: './lib/daemon',
silly resolved scripts: { preinstall: 'bash ./install' },
silly resolved engines: { node: '>= 0.4.0' },
silly resolved _id: 'daemon@0.5.1',
silly resolved dependencies: {},
silly resolved optionalDependencies: {},
silly resolved _engineSupported: true,
silly resolved _npmVersion: '1.1.4',
silly resolved _nodeVersion: 'v0.6.17',
silly resolved _defaultsLoaded: true,
silly resolved dist: { shasum: '0c4896837a8dd23dc66e0235a2afa9643cfe1e0a' },
silly resolved _from: 'daemon' } ]
info into /usr/local/lib daemon@0.5.1
info installOne daemon@0.5.1
verbose from cache /root/.npm/daemon/0.5.1/package/package.json
info unbuild /usr/local/lib/node_modules/daemon
verbose mkdir (expected) error ENOENT, stat '/usr/local/lib/node_modules/___daemon.npm'
verbose mkdir done: /usr/local/lib/node_modules/___daemon.npm 755
verbose unpack_ uid, gid [ 65534, 0 ]
verbose unpackTarget /usr/local/lib/node_modules/daemon
silly gunzTarPerm modes [ '755', '644' ]
silly afterUntar ok
silly asyncMap in gTP /usr/local/lib/node_modules/___daemon.npm/package
silly asyncMap in gTP /usr/local/lib/node_modules/___daemon.npm/package/README.md
silly asyncMap in gTP /usr/local/lib/node_modules/___daemon.npm/package/.npmignore
silly asyncMap in gTP /usr/local/lib/node_modules/___daemon.npm/package/wscript
silly asyncMap in gTP /usr/local/lib/node_modules/___daemon.npm/package/install
silly asyncMap in gTP /usr/local/lib/node_modules/___daemon.npm/package/package.json
silly asyncMap in gTP /usr/local/lib/node_modules/___daemon.npm/package/LICENSE
silly asyncMap in gTP /usr/local/lib/node_modules/___daemon.npm/package/src
silly asyncMap in gTP /usr/local/lib/node_modules/___daemon.npm/package/src/daemon.cc
silly asyncMap in gTP /usr/local/lib/node_modules/___daemon.npm/package/lib
silly asyncMap in gTP /usr/local/lib/node_modules/___daemon.npm/package/lib/daemon.js
silly asyncMap in gTP /usr/local/lib/node_modules/___daemon.npm/package/examples
silly asyncMap in gTP /usr/local/lib/node_modules/___daemon.npm/package/examples/bindings.js
silly asyncMap in gTP /usr/local/lib/node_modules/___daemon.npm/package/examples/wrapper.js
silly asyncMap in gTP /usr/local/lib/node_modules/___daemon.npm/package/test
silly asyncMap in gTP /usr/local/lib/node_modules/___daemon.npm/package/test/daemon-test.js
silly asyncMap in gTP /usr/local/lib/node_modules/___daemon.npm/package/test/fixtures
silly asyncMap in gTP /usr/local/lib/node_modules/___daemon.npm/package/test/fixtures/.gitkeep
verbose gunzed /usr/local/lib/node_modules/___daemon.npm/package
verbose rm'ed /usr/local/lib/node_modules/daemon
verbose renamed [ '/usr/local/lib/node_modules/___daemon.npm/package',
verbose renamed '/usr/local/lib/node_modules/daemon' ]
verbose has wscript [ undefined,
verbose has wscript { file: '/usr/local/lib/node_modules/daemon/package.json',
verbose has wscript contributors: false,
verbose has wscript serverjs: false,
verbose has wscript wscript: true } ]
verbose caching /usr/local/lib/node_modules/daemon/package.json
verbose loadDefaults daemon@0.5.1
info preinstall daemon@0.5.1
verbose unsafe-perm in lifecycle false
verbose Setting uid from 0 nobody
verbose stack at uid setting Error
verbose stack at uid setting at exec (/usr/share/npm/lib/utils/exec.js:35:17)
verbose stack at uid setting at Array.0 (/usr/share/npm/lib/utils/lifecycle.js:141:5)
verbose stack at uid setting at EventEmitter._tickCallback (node.js:192:41)
silly exec sh "-c" "bash ./install"
silly spawning [ 'sh',
silly spawning [ '-c', 'bash ./install' ],
silly spawning '/usr/local/lib/node_modules/daemon' ]
ERR! TypeError: options.uid should be a number
ERR! at ChildProcess.spawn (child_process.js:429:26)
ERR! at Object.spawn (child_process.js:342:9)
ERR! at spawn (/usr/share/npm/lib/utils/exec.js:103:22)
ERR! at exec (/usr/share/npm/lib/utils/exec.js:40:12)
ERR! at Array.0 (/usr/share/npm/lib/utils/lifecycle.js:141:5)
ERR! at EventEmitter._tickCallback (node.js:192:41)
ERR! You may report this log at:
ERR! <http://bugs.debian.org/npm>
ERR! or use
ERR! reportbug --attach /root/apps/striim/npm-debug.log npm
ERR!
ERR! System Linux 2.6.32-042stab049.6
ERR! command "node" "/usr/bin/npm" "install" "-g" "daemon"
ERR! cwd /root/apps/striim
ERR! node -v v0.6.17
ERR! npm -v 1.1.4
ERR! message options.uid should be a number
verbose exit [ 1, true ]
[root@vidlink ~/apps/striim]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.