-
Notifications
You must be signed in to change notification settings - Fork 3k
Error: EACCES, mkdir '/root/.npm' problem #2425
Comments
So, why doesn't root have write access to ~root? Solve that problem, and it will work. |
I purplexed too. I can freely access my /root without any problem. |
Try this:
|
It's also permission deny.. Orz
|
What does Is it possible that /root is a read-only file system mount or something? (Though, then it shoudl be returning EPERM, not EACCES.) |
I had the same problem (using Fedora 16), and solved it by running Anyway, maybe npm was running as the root group rather than the root user? |
Oh, probably because you were running as root, it's setuid'ing to the "nobody" user. You can run with |
That makes sense. |
when I try to use npm to install mongodb using
it outputs as follow:
My system is ubuntu 12.04 LTS x86_64 and I running the npm as root user.
Not sure wether it matters, I install node from source to /opt/node/0.6.17/ and added the path in $PATH
I tried re installing node v0.6.17 but the same result.
The text was updated successfully, but these errors were encountered: