3rd-Eden/useragent — Issue #9: Problem with npm installation
Author: Somebi
Created: 2011-12-11 12:08:56+00:00
State: open

root@randevu:/opt/nodejs# npm install useragent
npm WARN request@2.1.1 package.json: bugs['web'] should probably be bugs['url']

> useragent@1.0.3 postinstall /opt/nodejs/node_modules/useragent
> ./bin/update.js

sh: ./bin/update.js: Permission denied
npm ERR! error installing useragent@1.0.3 Error: useragent@1.0.3 postinstall: `./bin/update.js`
npm ERR! error installing useragent@1.0.3 `sh "-c" "./bin/update.js"` failed with 126
npm ERR! error installing useragent@1.0.3 at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing useragent@1.0.3 at ChildProcess.emit (events.js:70:17)
npm ERR! error installing useragent@1.0.3 at maybeExit (child_process.js:359:16)
npm ERR! error installing useragent@1.0.3 at Process.onexit (child_process.js:395:5)
npm ERR! useragent@1.0.3 postinstall: `./bin/update.js`
npm ERR! `sh "-c" "./bin/update.js"` failed with 126
npm ERR!
npm ERR! Failed at the useragent@1.0.3 postinstall script.
npm ERR! This is most likely a problem with the useragent package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ./bin/update.js
npm ERR! You can get their info via:
npm ERR! npm owner ls useragent
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 2.6.24-29-virtual
npm ERR! command "node" "/usr/local/bin/npm" "install" "useragent"
npm ERR! cwd /opt/nodejs
npm ERR! node -v v0.6.3
npm ERR! npm -v 1.1.0-alpha-2
npm ERR! code ELIFECYCLE
npm ERR! message useragent@1.0.3 postinstall: `./bin/update.js`
npm ERR! message `sh "-c" "./bin/update.js"` failed with 126
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /opt/nodejs/npm-debug.log
npm not ok