-
Notifications
You must be signed in to change notification settings - Fork 62
getting sh "-c" "node-waf clean || true; node-waf configure build"
failed with 1
#4
Comments
I think there are issues with node 0.5.6 and npm. I'm not able to get anything to install with npm on that version (I get the error mentioned in the 2nd post here: http://groups.google.com/group/nodejs/browse_thread/thread/d672addad7a98e78/9fb0685cce1d9a0e?q=node+0.5.6+unstable#9fb0685cce1d9a0e). I would try 0.5.5 or under and see if that works for you. |
Yes, i think there is an issue with node 0.5.6 and npm. I tried with stable node 0.4.11 then it installed with out any issues. From: Brian McDaniel [email protected] I think there are issues with node 0.5.6 and npm. I'm not able to get anything to install with npm on that version (I get the error mentioned in the 2nd post here: http://groups.google.com/group/nodejs/browse_thread/thread/d672addad7a98e78/9fb0685cce1d9a0e?q=node+0.5.6+unstable#9fb0685cce1d9a0e). I would try 0.5.5 or under and see if that works for you. Reply to this email directly or view it on GitHub: |
Great, glad you got it working. Hopefully 0.5.7 fixes the npm issue. |
i'm also having this problem with 0.4.12 |
Everything is working for me on v0.4.12. Can you post the output that you're getting? You might want to try re-installing node. |
yes, i'm dumb and didn't have node-waf installed (apparently ubuntu breaks node into nodejs and nodejs-devel packages, d'oh). thanks for your response, and sorry for not updating this issue proactively! |
That's good to know about the Ubuntu packages. Glad everything is working now! |
While trying to install contextify using npm, i got the following error.
Following is the log.. I'm using Ubuntu 11.04 - the Natty Narwhal
info it worked if it ends with ok
verbose cli [ 'node',
verbose cli '/home/santt1/local/node/bin/npm',
verbose cli 'install',
verbose cli 'contextify' ]
info using [email protected]
info using [email protected]
verbose config file /home/santt1/.npmrc
verbose config file /home/santt1/local/node/etc/npmrc
silly testEngine { name: 'htmlparser',
silly testEngine description: 'Forgiving HTML/XML/RSS Parser in JS for both Node and Browsers',
silly testEngine version: '1.7.3',
silly testEngine author:
silly testEngine { name: 'Chris Winberry',
silly testEngine email: '[email protected]' },
silly testEngine contributors: [],
silly testEngine repository:
silly testEngine { type: 'git',
silly testEngine url: 'git://github.com/tautologistics/node-htmlparser.git' },
silly testEngine bugs:
silly testEngine { email: '[email protected]',
silly testEngine url: 'http://github.com/tautologistics/node-htmlparser/issues' },
silly testEngine os: [ 'linux', 'darwin', 'freebsd', 'win32' ],
silly testEngine directories: { lib: './lib/' },
silly testEngine main: './lib/htmlparser',
silly testEngine engines: { node: '>=0.1.33' },
silly testEngine licenses:
silly testEngine [ { type: 'MIT',
silly testEngine url: 'http://github.com/tautologistics/node-htmlparser/raw/master/LICENSE' } ],
silly testEngine _npmJsonOpts:
silly testEngine { file: '/home/santt1/Node_Examples/node_modules/htmlparser/package.json',
silly testEngine wscript: false,
silly testEngine contributors: false,
silly testEngine serverjs: false },
silly testEngine _id: '[email protected]',
silly testEngine dependencies: {},
silly testEngine devDependencies: {},
silly testEngine _engineSupported: true,
silly testEngine _npmVersion: '1.0.27',
silly testEngine _nodeVersion: 'v0.5.6-pre',
silly testEngine _defaultsLoaded: true }
verbose caching /home/santt1/Node_Examples/node_modules/htmlparser/package.json
verbose loadDefaults [email protected]
silly testEngine { name: 'cssom',
silly testEngine description: 'CSS Object Model implementation and CSS parser',
silly testEngine keywords: [ 'CSS', 'CSSOM', 'parser', 'styleSheet' ],
silly testEngine version: '0.2.0',
silly testEngine homepage: 'https://github.com/NV/CSSOM',
silly testEngine author: { name: 'Nikita Vasilyev', email: '[email protected]' },
silly testEngine repository: { type: 'git', url: 'git://github.com/NV/CSSOM.git' },
silly testEngine bugs: { url: 'https://github.com/NV/CSSOM/issues' },
silly testEngine directories: { doc: './doc', lib: './lib', test: './test' },
silly testEngine main: './lib/index.js',
silly testEngine engines: { node: '>=0.2.0' },
silly testEngine licenses:
silly testEngine [ { type: 'MIT',
silly testEngine url: 'http://creativecommons.org/licenses/MIT/' } ],
silly testEngine _npmJsonOpts:
silly testEngine { file: '/home/santt1/Node_Examples/node_modules/cssom/package.json',
silly testEngine wscript: false,
silly testEngine contributors: false,
silly testEngine serverjs: false },
silly testEngine _id: '[email protected]',
silly testEngine dependencies: {},
silly testEngine devDependencies: {},
silly testEngine _engineSupported: true,
silly testEngine _npmVersion: '1.0.27',
silly testEngine _nodeVersion: 'v0.5.6-pre',
silly testEngine _defaultsLoaded: true }
verbose caching /home/santt1/Node_Examples/node_modules/cssom/package.json
verbose loadDefaults [email protected]
silly testEngine { name: 'request',
silly testEngine description: 'Simplified HTTP request client.',
silly testEngine tags: [ 'http', 'simple', 'util', 'utility' ],
silly testEngine version: '2.1.1',
silly testEngine author:
silly testEngine { name: 'Mikeal Rogers',
silly testEngine email: '[email protected]' },
silly testEngine repository:
silly testEngine { type: 'git',
silly testEngine url: 'git://github.com/mikeal/request.git' },
silly testEngine bugs: { url: 'http://github.com/mikeal/request/issues' },
silly testEngine engines: [ 'node >= 0.3.6', node: ' >= 0.3.6' ],
silly testEngine main: './main',
silly testEngine _npmJsonOpts:
silly testEngine { file: '/home/santt1/Node_Examples/node_modules/request/package.json',
silly testEngine wscript: false,
silly testEngine contributors: false,
silly testEngine serverjs: false },
silly testEngine _id: '[email protected]',
silly testEngine dependencies: {},
silly testEngine devDependencies: {},
silly testEngine _engineSupported: true,
silly testEngine _npmVersion: '1.0.27',
silly testEngine _nodeVersion: 'v0.5.6-pre',
silly testEngine _defaultsLoaded: true }
verbose caching /home/santt1/Node_Examples/node_modules/request/package.json
verbose loadDefaults [email protected]
verbose into /home/santt1/Node_Examples [ '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 url parsed { protocol: 'https:',
verbose url parsed slashes: true,
verbose url parsed host: 'registry.npmjs.org',
verbose url parsed hostname: 'registry.npmjs.org',
verbose url parsed href: 'https://registry.npmjs.org/contextify',
verbose url parsed pathname: '/contextify' }
verbose etag "F3JFIHCXF2VBVL52M8QOBBP7I"
verbose response https://registry.npmjs.org/contextify
silly get cb [ 304,
silly get cb { server: 'CouchDB/1.1.0 (Erlang OTP/R14B03)',
silly get cb etag: '"F3JFIHCXF2VBVL52M8QOBBP7I"',
silly get cb date: 'Mon, 12 Sep 2011 09:34:27 GMT',
silly get cb 'content-length': '0' } ]
verbose etag contextify from cache
verbose GET contextify/0.0.5
verbose raw, before any munging contextify/0.0.5
verbose url resolving [ 'https://registry.npmjs.org/',
verbose url resolving './contextify/0.0.5' ]
verbose url resolved https://registry.npmjs.org/contextify/0.0.5
verbose url parsed { protocol: 'https:',
verbose url parsed slashes: true,
verbose url parsed host: 'registry.npmjs.org',
verbose url parsed hostname: 'registry.npmjs.org',
verbose url parsed href: 'https://registry.npmjs.org/contextify/0.0.5',
verbose url parsed pathname: '/contextify/0.0.5' }
verbose etag "F3JFIHCXF2VBVL52M8QOBBP7I"
verbose response https://registry.npmjs.org/contextify/0.0.5
silly get cb [ 304,
silly get cb { server: 'CouchDB/1.1.0 (Erlang OTP/R14B03)',
silly get cb etag: '"F3JFIHCXF2VBVL52M8QOBBP7I"',
silly get cb date: 'Mon, 12 Sep 2011 09:34:29 GMT',
silly get cb 'content-length': '0' } ]
verbose etag contextify/0.0.5 from cache
verbose bin dist [ null,
verbose bin dist { shasum: '3d59e4c405ea7878bdf29ce1fa37f9cb154f1554',
verbose bin dist tarball: 'http://registry.npmjs.org/contextify/-/contextify-0.0.5.tgz' } ]
verbose has wscript [ undefined,
verbose has wscript { file: '/home/santt1/.npm/contextify/0.0.5/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: '[email protected]' },
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.5',
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 _npmJsonOpts:
silly testEngine { file: '/home/santt1/.npm/contextify/0.0.5/package/package.json',
silly testEngine contributors: false,
silly testEngine serverjs: false,
silly testEngine wscript: true },
silly testEngine _id: '[email protected]',
silly testEngine scripts: { preinstall: 'node-waf clean || true; node-waf configure build' },
silly testEngine _engineSupported: true,
silly testEngine _npmVersion: '1.0.27',
silly testEngine _nodeVersion: 'v0.5.6-pre',
silly testEngine _defaultsLoaded: true }
verbose caching /home/santt1/.npm/contextify/0.0.5/package/package.json
verbose loadDefaults [email protected]
silly resolved [ { author:
silly resolved { name: 'Brian McDaniel',
silly resolved email: '[email protected]' },
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.5',
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 _npmJsonOpts:
silly resolved { file: '/home/santt1/.npm/contextify/0.0.5/package/package.json',
silly resolved contributors: false,
silly resolved serverjs: false,
silly resolved wscript: true },
silly resolved _id: '[email protected]',
silly resolved scripts: { preinstall: 'node-waf clean || true; node-waf configure build' },
silly resolved _engineSupported: true,
silly resolved _npmVersion: '1.0.27',
silly resolved _nodeVersion: 'v0.5.6-pre',
silly resolved _defaultsLoaded: true } ]
info into /home/santt1/Node_Examples [email protected]
info installOne [email protected]
info unbuild /home/santt1/Node_Examples/node_modules/contextify
verbose from cache /home/santt1/.npm/contextify/0.0.5/package/package.json
verbose mkdir (expected) error ENOENT, Success '/home/santt1/Node_Examples/node_modules/___contextify.npm'
verbose mkdir done: /home/santt1/Node_Examples/node_modules/__contextify.npm 755
verbose unpack uid, gid [ undefined, undefined ]
verbose unpackTarget /home/santt1/Node_Examples/node_modules/contextify
silly gunzTarPerm modes [ '755', '644' ]
verbose success gzip "--decompress" "--stdout" "/home/santt1/.npm/contextify/0.0.5/package.tgz"
verbose success tar "-mvxpf" "-" "-o" "-C" "/home/santt1/Node_Examples/node_modules/___contextify.npm"
silly asyncMap in gTP /home/santt1/Node_Examples/node_modules/___contextify.npm/package/
silly asyncMap in gTP /home/santt1/Node_Examples/node_modules/___contextify.npm/package/README.md
silly asyncMap in gTP /home/santt1/Node_Examples/node_modules/___contextify.npm/package/.gitignore
silly asyncMap in gTP /home/santt1/Node_Examples/node_modules/___contextify.npm/package/wscript
silly asyncMap in gTP /home/santt1/Node_Examples/node_modules/___contextify.npm/package/package.json
silly asyncMap in gTP /home/santt1/Node_Examples/node_modules/___contextify.npm/package/LICENSE.txt
silly asyncMap in gTP /home/santt1/Node_Examples/node_modules/___contextify.npm/package/lib/
silly asyncMap in gTP /home/santt1/Node_Examples/node_modules/___contextify.npm/package/lib/contextify.js
silly asyncMap in gTP /home/santt1/Node_Examples/node_modules/___contextify.npm/package/test/
silly asyncMap in gTP /home/santt1/Node_Examples/node_modules/___contextify.npm/package/test/contextify.js
silly asyncMap in gTP /home/santt1/Node_Examples/node_modules/___contextify.npm/package/src/
silly asyncMap in gTP /home/santt1/Node_Examples/node_modules/___contextify.npm/package/src/contextify.cc
verbose gunzed /home/santt1/Node_Examples/node_modules/___contextify.npm/package
verbose rm'ed /home/santt1/Node_Examples/node_modules/contextify
verbose renamed [ '/home/santt1/Node_Examples/node_modules/___contextify.npm/package',
verbose renamed '/home/santt1/Node_Examples/node_modules/contextify' ]
verbose has wscript [ undefined,
verbose has wscript { file: '/home/santt1/Node_Examples/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: '[email protected]' },
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.5',
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 _npmJsonOpts:
silly testEngine { file: '/home/santt1/Node_Examples/node_modules/contextify/package.json',
silly testEngine contributors: false,
silly testEngine serverjs: false,
silly testEngine wscript: true },
silly testEngine _id: '[email protected]',
silly testEngine scripts: { preinstall: 'node-waf clean || true; node-waf configure build' },
silly testEngine _engineSupported: true,
silly testEngine _npmVersion: '1.0.27',
silly testEngine _nodeVersion: 'v0.5.6-pre',
silly testEngine _defaultsLoaded: true }
verbose caching /home/santt1/Node_Examples/node_modules/contextify/package.json
verbose loadDefaults [email protected]
info preinstall [email protected]
verbose unsafe-perm in lifecycle true
silly exec sh "-c" "node-waf clean || true; node-waf configure build"
info [email protected] Failed to exec preinstall script
ERR! error installing [email protected] Error: [email protected] preinstall:
node-waf clean || true; node-waf configure build
ERR! error installing [email protected]
sh "-c" "node-waf clean || true; node-waf configure build"
failed with 1ERR! error installing [email protected] at ChildProcess. (/home/santt1/local/node/lib/node_modules/npm/lib/utils/exec.js:49:20)
ERR! error installing [email protected] at ChildProcess.emit (events.js:70:17)
ERR! error installing [email protected] at maybeExit (child_process_uv.js:226:16)
ERR! error installing [email protected] at Process.onexit (child_process_uv.js:261:5)
info unbuild /home/santt1/Node_Examples/node_modules/contextify
verbose from cache /home/santt1/Node_Examples/node_modules/contextify/package.json
info preuninstall [email protected]
info uninstall [email protected]
verbose unbuild [email protected] [ false,
verbose unbuild [email protected] '/home/santt1/local/node/lib/node_modules',
verbose unbuild [email protected] '/home/santt1/Node_Examples/node_modules' ]
info postuninstall [email protected]
verbose installOne cb [email protected]
ERR! [email protected] preinstall:
node-waf clean || true; node-waf configure build
ERR!
sh "-c" "node-waf clean || true; node-waf configure build"
failed with 1ERR!
ERR! Failed at the [email protected] 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 2.6.38-8-generic
ERR! command "node" "/home/santt1/local/node/bin/npm" "install" "contextify"
ERR! cwd /home/santt1/Node_Examples
ERR! node -v v0.5.6-pre
ERR! npm -v 1.0.27
verbose exit [ 1, true ]
The text was updated successfully, but these errors were encountered: