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

Issue with symlinked modules #3575

wants to merge 1 commit into


None yet
3 participants

qbit commented Jun 17, 2013

This diff causes npm to skip chown'ing symlinked node modules as modules installed with npm -g that contain a "bin" entry in package.json should already have correct permissions.

sudo npm install -g node-gyp
cd /tmp
npm link node-gyp
npm ERR! Error: EPERM, chmod '/tmp/node_modules/node-gyp/bin/node-gyp.js'


timoxley commented Jan 12, 2014

@qbit I believe this has been fixed. This works just fine for me on npm@1.3.23:

npm install -g node-gyp
cd /tmp
touch package.json
npm link node-gyp

timoxley commented Jan 12, 2014


timoxley commented Feb 21, 2014

@qbit is this fixed for you?

qbit commented Feb 21, 2014

Looks to be! Thanks @timoxley

@domenic domenic closed this Feb 24, 2014

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