-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
UNCAUGHT EXCEPTION Error: EPERM #222
Comments
Assuming you're installing with root, does root have access to '/Users/Markus/.node-gyp' and/or '/Users/Markus/.node-gyp/0.10.1'? |
It's probably more the fact that npm downgrades user permissions of spawned child processes when run as root. I was leaving it open because of the UNCAUGHT EXCEPTION part (meaning I'm not catching the "error" event somewhere...). I should look into using domains soon :p |
I am able to reproduce this consistently on Centos just trying to install "ref" or "ffi".(see log at end of this note). The permissions on the offending directory'..... /.node-gyp/0.10.29' is: .node-gyp: .node-gyp/0.10.29: Naively I am assuming that at the point of this failure the code is not running either under root or my id. I would be glad to debug it further if I can get some pointers as to where to start looking. Log: gyp ERR! UNCAUGHT EXCEPTION npm ERR! System Linux 2.6.32-358.11.1.el6.x86_64
|
@biegl Can you please close this issue if this is not issue any more? |
If this is still an issue comment and I'll reopen. |
The text was updated successfully, but these errors were encountered: