Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Install Fails #18

Open
feifeipan opened this Issue Sep 19, 2012 · 2 comments

Comments

Projects
None yet
3 participants

HI, I try to user

sudo npm install -g testling.

I got the error

npm http 200 https://registry.npmjs.org/uglify-js
npm http GET https://registry.npmjs.org/uglify-js/-/uglify-js-1.1.1.tgz
npm http 200 https://registry.npmjs.org/uglify-js/-/uglify-js-1.1.1.tgz
/usr/local/bin/testling -> /usr/local/lib/node_modules/testling/bin/cmd.js

testling@0.2.5 install /usr/local/lib/node_modules/testling
browserify node_modules/schoolbus/proxy.js -o static/proxy.js

/usr/local/lib/node_modules/testling/node_modules/mkdirp/index.js:74
throw err0;
^
Error: EACCES, permission denied '/Users/feifeipan/.config/browserify'
at Object.fs.mkdirSync (fs.js:483:18)
at Function.sync (/usr/local/lib/node_modules/testling/node_modules/mkdirp/index.js:55:12)
at module.exports (/usr/local/lib/node_modules/testling/node_modules/browserify/node_modules/deputy/index.js:10:12)
at new Wrap (/usr/local/lib/node_modules/testling/node_modules/browserify/lib/wrap.js:32:30)
at module.exports (/usr/local/lib/node_modules/testling/node_modules/browserify/lib/wrap.js:17:12)
at module.exports (/usr/local/lib/node_modules/testling/node_modules/browserify/index.js:55:13)
at Object. (/usr/local/lib/node_modules/testling/node_modules/browserify/bin/cmd.js:87:14)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
npm ERR! testling@0.2.5 install: browserify node_modules/schoolbus/proxy.js -o static/proxy.js
npm ERR! sh "-c" "browserify node_modules/schoolbus/proxy.js -o static/proxy.js" failed with 1
npm ERR!
npm ERR! Failed at the testling@0.2.5 install script.
npm ERR! This is most likely a problem with the testling package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! browserify node_modules/schoolbus/proxy.js -o static/proxy.js
npm ERR! You can get their info via:
npm ERR! npm owner ls testling
npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 11.4.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "testling"
npm ERR! cwd /users/feifeipan/Sites/myweb/node/node_modules
npm ERR! node -v v0.8.9
npm ERR! npm -v 1.1.61
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /users/feifeipan/Sites/myweb/node/node_modules/npm-debug.log
npm ERR! not ok code 0

Then I use "npm install testing", I got another error.

npm http 304 https://registry.npmjs.org/uglify-js
npm http 304 https://registry.npmjs.org/traverse
Checking for program g++ or c++ : not found
/usr/local/lib/node_modules/testling/node_modules/shoe/node_modules/sockjs/node_modules/rbytes/wscript:12: error: could not configure a cxx compiler!
npm WARN optional dep failed, continuing rbytes@0.0.2
npm ERR! Error: EACCES, symlink '../lib/node_modules/testling/bin/cmd.js'
npm ERR! { [Error: EACCES, symlink '../lib/node_modules/testling/bin/cmd.js']
npm ERR! errno: 3,
npm ERR! code: 'EACCES',
npm ERR! path: '../lib/node_modules/testling/bin/cmd.js' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! System Darwin 11.4.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "testling"
npm ERR! cwd /users/feifeipan/Sites/myweb/node/node_modules
npm ERR! node -v v0.8.9
npm ERR! npm -v 1.1.61
npm ERR! path ../lib/node_modules/testling/bin/cmd.js
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, symlink '../lib/node_modules/testling/bin/cmd.js'
npm ERR! Error: EACCES, open 'npm-debug.log'
npm ERR! { [Error: EACCES, open 'npm-debug.log'] errno: 3, code: 'EACCES', path: 'npm-debug.log' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! System Darwin 11.4.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "testling"
npm ERR! cwd /users/feifeipan/Sites/myweb/node/node_modules
npm ERR! node -v v0.8.9
npm ERR! npm -v 1.1.61
npm ERR! path npm-debug.log
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, open 'npm-debug.log'
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /users/feifeipan/Sites/myweb/node/node_modules/npm-debug.log
npm ERR! not ok code 0

Is there anyone can help me?Thanks a lot.

I'm hit the same issue, there's apparently several undeclared dependencies: jquery-browserify, dnode-protocol
, & postmessage

npm installing each of those first let me get a working install

jbeard4 commented Feb 15, 2013

I am running into this issue as well. Installing jquery-browserify, dnode-protocol and postmessage did not resolve this issue.

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