Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation fails #22

Open
juliangruber opened this Issue Dec 5, 2012 · 5 comments

Comments

Projects
None yet
6 participants
@juliangruber
Copy link

commented Dec 5, 2012

/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/browserify/node_modules/deputy/node_modules/mkdirp/index.js:74
                    throw err0;
                          ^
Error: EACCES, permission denied '/home/julian/.config/browserify'
    at Object.fs.mkdirSync (fs.js:483:18)
    at Function.sync (/usr/local/lib/node_modules/browserify/node_modules/deputy/node_modules/mkdirp/index.js:55:12)
    at module.exports (/usr/local/lib/node_modules/browserify/node_modules/deputy/index.js:10:12)
    at new Wrap (/usr/local/lib/node_modules/browserify/lib/wrap.js:33:30)
    at module.exports (/usr/local/lib/node_modules/browserify/lib/wrap.js:18:12)
    at module.exports (/usr/local/lib/node_modules/browserify/index.js:54:13)
    at Object.<anonymous> (/usr/local/lib/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.
@millermedeiros

This comment has been minimized.

Copy link

commented Jan 19, 2013

+1 having the same issue on Mac OSX 10.6.8. Tried to do a clean install of browserify but it doesn't help. thx

@andyperlitch

This comment has been minimized.

Copy link

commented Jan 22, 2013

+1 also having the same issue but on OSX 10.8.2. Here is the output:

/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

{ [Error: EACCES, permission denied '/Users/andyperlitch/.config/browserify/cache.json']
  errno: 3,
  code: 'EACCES',
  path: '/Users/andyperlitch/.config/browserify/cache.json',
  syscall: 'open' }
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 12.2.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "testling" "-g" 
@jbeard4

This comment has been minimized.

Copy link

commented Feb 15, 2013

I'm running into the same issue on Ubuntu 12.04.

@widged

This comment has been minimized.

Copy link

commented Feb 16, 2013

You may have to sudo... or better, change the permissions on your global node_modules folder so that you don't have to sudo.
http://howtonode.org/introduction-to-npm

sudo chown -R $USER /usr/local/lib/node_modules

(a fellow user)

@AWinterman

This comment has been minimized.

Copy link

commented Jul 4, 2013

yeah, you need to sudo npm install -g or do as @widged suggested. This isn't an issue with testling, so this should probably be closed.

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.