brianmcd/contextify — Issue #6: Error installing 
Author: rvignacio
Created: 2011-10-30 22:26:43+00:00
State: open

Hello, I'm having troubles installing contextify in order to get jsdom to work.

Here's the log:

```
info it worked if it ends with ok
verbose cli [ 'node', '/usr/bin/npm', 'install', 'contextify' ]
info using npm@1.0.103
info using node@v0.4.9
verbose config file /home/nacho/.npmrc
verbose config file /usr/etc/npmrc
verbose config file /usr/lib/node_modules/npm/npmrc
verbose mkdir done: /media/49BCF4BD2E85D716/tesis/app/milestone2 755
verbose into /media/49BCF4BD2E85D716/tesis/app/milestone2 [ 'contextify' ]
verbose cache add contextify
verbose cache add [ 'contextify', null ]
silly cache add: name, spec, args [ undefined, 'contextify', [ 'contextify', null ] ]
verbose parsed url { pathname: 'contextify', href: 'contextify' }
info addNamed [ 'contextify', '' ]
verbose addNamed [ null, '' ]
verbose GET contextify
verbose raw, before any munging contextify
verbose url resolving [ 'https://registry.npmjs.org/', './contextify' ]
verbose url resolved https://registry.npmjs.org/contextify
verbose etag "1VU2X5IKY2ASKQEUMJBVI9SC8"
silly get cb [ 304,
silly get cb { server: 'CouchDB/1.1.0 (Erlang OTP/R14B03)',
silly get cb etag: '"1VU2X5IKY2ASKQEUMJBVI9SC8"',
silly get cb date: 'Sun, 30 Oct 2011 22:19:05 GMT',
silly get cb 'content-length': '0' } ]
verbose etag contextify from cache
verbose GET contextify/0.0.6
verbose raw, before any munging contextify/0.0.6
verbose url resolving [ 'https://registry.npmjs.org/',
verbose url resolving './contextify/0.0.6' ]
verbose url resolved https://registry.npmjs.org/contextify/0.0.6
verbose etag "1VU2X5IKY2ASKQEUMJBVI9SC8"
silly get cb [ 304,
silly get cb { server: 'CouchDB/1.1.0 (Erlang OTP/R14B03)',
silly get cb etag: '"1VU2X5IKY2ASKQEUMJBVI9SC8"',
silly get cb date: 'Sun, 30 Oct 2011 22:19:06 GMT',
silly get cb 'content-length': '0' } ]
verbose etag contextify/0.0.6 from cache
verbose bin dist [ '0.4-ares1.7.4-ev4.4-openssl1.0.0d-v83.1.8.22-linux-3.0.0-12-generic',
verbose bin dist { shasum: '1d373103c9000b93812783b8e1d1e1889b4a73de',
verbose bin dist tarball: 'http://registry.npmjs.org/contextify/-/contextify-0.0.6.tgz' } ]
verbose has wscript [ undefined,
verbose has wscript { file: '/home/nacho/.npm/contextify/0.0.6/package/package.json',
verbose has wscript contributors: false,
verbose has wscript serverjs: false,
verbose has wscript wscript: true } ]
silly testEngine { author:
silly testEngine { name: 'Brian McDaniel',
silly testEngine email: 'brianmcd05@gmail.com' },
silly testEngine name: 'contextify',
silly testEngine description: 'Turn an object into a persistent execution context.',
silly testEngine keywords: [ 'context', 'vm' ],
silly testEngine version: '0.0.6',
silly testEngine repository:
silly testEngine { type: 'git',
silly testEngine url: 'git://github.com/brianmcd/contextify.git' },
silly testEngine main: './lib/contextify.js',
silly testEngine directories: { lib: './lib' },
silly testEngine engines: { node: '>=0.4.0' },
silly testEngine licenses:
silly testEngine [ { type: 'MIT',
silly testEngine url: 'http://github.com/brianmcd/contextify/blob/master/LICENSE.txt' } ],
silly testEngine dependencies: {},
silly testEngine devDependencies: { nodeunit: '>=0.5.x' },
silly testEngine _id: 'contextify@0.0.6',
silly testEngine scripts: { preinstall: 'node-waf clean || true; node-waf configure build' },
silly testEngine _engineSupported: true,
silly testEngine _npmVersion: '1.0.103',
silly testEngine _nodeVersion: 'v0.4.9',
silly testEngine _defaultsLoaded: true }
verbose caching /home/nacho/.npm/contextify/0.0.6/package/package.json
verbose loadDefaults contextify@0.0.6
silly resolved [ { author:
silly resolved { name: 'Brian McDaniel',
silly resolved email: 'brianmcd05@gmail.com' },
silly resolved name: 'contextify',
silly resolved description: 'Turn an object into a persistent execution context.',
silly resolved keywords: [ 'context', 'vm' ],
silly resolved version: '0.0.6',
silly resolved repository:
silly resolved { type: 'git',
silly resolved url: 'git://github.com/brianmcd/contextify.git' },
silly resolved main: './lib/contextify.js',
silly resolved directories: { lib: './lib' },
silly resolved engines: { node: '>=0.4.0' },
silly resolved licenses:
silly resolved [ { type: 'MIT',
silly resolved url: 'http://github.com/brianmcd/contextify/blob/master/LICENSE.txt' } ],
silly resolved dependencies: {},
silly resolved devDependencies: { nodeunit: '>=0.5.x' },
silly resolved _id: 'contextify@0.0.6',
silly resolved scripts: { preinstall: 'node-waf clean || true; node-waf configure build' },
silly resolved _engineSupported: true,
silly resolved _npmVersion: '1.0.103',
silly resolved _nodeVersion: 'v0.4.9',
silly resolved _defaultsLoaded: true } ]
info into /media/49BCF4BD2E85D716/tesis/app/milestone2 contextify@0.0.6
info installOne contextify@0.0.6
info unbuild /media/49BCF4BD2E85D716/tesis/app/milestone2/node_modules/contextify
verbose from cache /home/nacho/.npm/contextify/0.0.6/package/package.json
verbose mkdir (expected) error ENOENT, No such file or directory '/media/49BCF4BD2E85D716/tesis/app/milestone2/node_modules/___contextify.npm'
verbose mkdir done: /media/49BCF4BD2E85D716/tesis/app/milestone2/node_modules/___contextify.npm 755
verbose unpack_ uid, gid [ undefined, undefined ]
verbose unpackTarget /media/49BCF4BD2E85D716/tesis/app/milestone2/node_modules/contextify
silly gunzTarPerm modes [ '755', '644' ]
silly spawning [ 'tar',
silly spawning [ '-zmvxpf',
silly spawning '/home/nacho/.npm/contextify/0.0.6/package.tgz',
silly spawning '-o' ],
silly spawning '/media/49BCF4BD2E85D716/tesis/app/milestone2/node_modules/___contextify.npm' ]
silly tar out package/wscript
silly tar out package/package.json
silly tar out package/README.md
silly tar out package/LICENSE.txt
silly tar out package/.gitignore
silly tar out package/src/contextify.cc
silly tar out package/lib/contextify.js
silly tar out package/test/contextify.js
silly asyncMap in gTP /media/49BCF4BD2E85D716/tesis/app/milestone2/node_modules/___contextify.npm/package
silly asyncMap in gTP /media/49BCF4BD2E85D716/tesis/app/milestone2/node_modules/___contextify.npm/package/.gitignore
silly asyncMap in gTP /media/49BCF4BD2E85D716/tesis/app/milestone2/node_modules/___contextify.npm/package/LICENSE.txt
silly asyncMap in gTP /media/49BCF4BD2E85D716/tesis/app/milestone2/node_modules/___contextify.npm/package/package.json
silly asyncMap in gTP /media/49BCF4BD2E85D716/tesis/app/milestone2/node_modules/___contextify.npm/package/README.md
silly asyncMap in gTP /media/49BCF4BD2E85D716/tesis/app/milestone2/node_modules/___contextify.npm/package/wscript
silly asyncMap in gTP /media/49BCF4BD2E85D716/tesis/app/milestone2/node_modules/___contextify.npm/package/src
silly asyncMap in gTP /media/49BCF4BD2E85D716/tesis/app/milestone2/node_modules/___contextify.npm/package/src/contextify.cc
silly asyncMap in gTP /media/49BCF4BD2E85D716/tesis/app/milestone2/node_modules/___contextify.npm/package/test
silly asyncMap in gTP /media/49BCF4BD2E85D716/tesis/app/milestone2/node_modules/___contextify.npm/package/test/contextify.js
silly asyncMap in gTP /media/49BCF4BD2E85D716/tesis/app/milestone2/node_modules/___contextify.npm/package/lib
silly asyncMap in gTP /media/49BCF4BD2E85D716/tesis/app/milestone2/node_modules/___contextify.npm/package/lib/contextify.js
silly chmod .gitignore 644
silly chmod package 755
silly chmod LICENSE.txt 644
silly chmod wscript 644
silly chmod src 755
silly chmod contextify.cc 644
silly chmod README.md 644
silly chmod test 755
silly chmod contextify.js 644
silly chmod package.json 644
silly chmod contextify.js 644
silly chmod lib 755
verbose gunzed /media/49BCF4BD2E85D716/tesis/app/milestone2/node_modules/___contextify.npm/package
verbose rm'ed /media/49BCF4BD2E85D716/tesis/app/milestone2/node_modules/contextify
verbose renamed [ '/media/49BCF4BD2E85D716/tesis/app/milestone2/node_modules/___contextify.npm/package',
verbose renamed '/media/49BCF4BD2E85D716/tesis/app/milestone2/node_modules/contextify' ]
verbose has wscript [ undefined,
verbose has wscript { file: '/media/49BCF4BD2E85D716/tesis/app/milestone2/node_modules/contextify/package.json',
verbose has wscript contributors: false,
verbose has wscript serverjs: false,
verbose has wscript wscript: true } ]
silly testEngine { author:
silly testEngine { name: 'Brian McDaniel',
silly testEngine email: 'brianmcd05@gmail.com' },
silly testEngine name: 'contextify',
silly testEngine description: 'Turn an object into a persistent execution context.',
silly testEngine keywords: [ 'context', 'vm' ],
silly testEngine version: '0.0.6',
silly testEngine repository:
silly testEngine { type: 'git',
silly testEngine url: 'git://github.com/brianmcd/contextify.git' },
silly testEngine main: './lib/contextify.js',
silly testEngine directories: { lib: './lib' },
silly testEngine engines: { node: '>=0.4.0' },
silly testEngine licenses:
silly testEngine [ { type: 'MIT',
silly testEngine url: 'http://github.com/brianmcd/contextify/blob/master/LICENSE.txt' } ],
silly testEngine dependencies: {},
silly testEngine devDependencies: { nodeunit: '>=0.5.x' },
silly testEngine _id: 'contextify@0.0.6',
silly testEngine scripts: { preinstall: 'node-waf clean || true; node-waf configure build' },
silly testEngine _engineSupported: true,
silly testEngine _npmVersion: '1.0.103',
silly testEngine _nodeVersion: 'v0.4.9',
silly testEngine _defaultsLoaded: true }
verbose caching /media/49BCF4BD2E85D716/tesis/app/milestone2/node_modules/contextify/package.json
verbose loadDefaults contextify@0.0.6
info preinstall contextify@0.0.6
verbose unsafe-perm in lifecycle true
silly exec sh "-c" "node-waf clean || true; node-waf configure build"
silly spawning [ 'sh',
silly spawning [ '-c',
silly spawning 'node-waf clean || true; node-waf configure build' ],
silly spawning '/media/49BCF4BD2E85D716/tesis/app/milestone2/node_modules/contextify' ]
info contextify@0.0.6 Failed to exec preinstall script
ERR! error installing contextify@0.0.6 Error: contextify@0.0.6 preinstall: `node-waf clean || true; node-waf configure build`
ERR! error installing contextify@0.0.6 `sh "-c" "node-waf clean || true; node-waf configure build"` failed with 127
ERR! error installing contextify@0.0.6 at ChildProcess. (/usr/lib/node_modules/npm/lib/utils/exec.js:49:20)
ERR! error installing contextify@0.0.6 at ChildProcess.emit (events.js:67:17)
ERR! error installing contextify@0.0.6 at ChildProcess.onexit (child_process.js:192:12)
info unbuild /media/49BCF4BD2E85D716/tesis/app/milestone2/node_modules/contextify
verbose from cache /media/49BCF4BD2E85D716/tesis/app/milestone2/node_modules/contextify/package.json
info preuninstall contextify@0.0.6
info uninstall contextify@0.0.6
verbose unbuild contextify@0.0.6 [ true,
verbose unbuild contextify@0.0.6 '/media/49BCF4BD2E85D716/tesis/app/milestone2/node_modules',
verbose unbuild contextify@0.0.6 '/media/49BCF4BD2E85D716/tesis/app/milestone2/node_modules' ]
info postuninstall contextify@0.0.6
verbose installOne cb contextify@0.0.6
ERR! contextify@0.0.6 preinstall: `node-waf clean || true; node-waf configure build`
ERR! `sh "-c" "node-waf clean || true; node-waf configure build"` failed with 127
ERR!
ERR! Failed at the contextify@0.0.6 preinstall script.
ERR! This is most likely a problem with the contextify package,
ERR! not with npm itself.
ERR! Tell the author that this fails on your system:
ERR! node-waf clean || true; node-waf configure build
ERR! You can get their info via:
ERR! npm owner ls contextify
ERR! There is likely additional logging output above.
ERR!
ERR! System Linux 3.0.0-12-generic
ERR! command "node" "/usr/bin/npm" "install" "contextify"
ERR! cwd /media/49BCF4BD2E85D716/tesis/app/milestone2
ERR! node -v v0.4.9
ERR! npm -v 1.0.103
ERR! code ELIFECYCLE
verbose exit [ 1, true ]
```

Any help will be appreciated,
Thanks!