Am Freitag, 13. Juni 2014 17:26:39 UTC+2 schrieb Forrest L Norvell:
>
> Because npm only needs elevated privileges when you’re installing packages 
> globally (with -g / --global) [...] Are you running into a situation 
> where this isn’t the case?
>
I only can use the command as root; it simply says the command doesn't 
exist to other users. Which is because npm is installed in 
/usr/lib/node_modules/ and that directory is owned by root right after the 
script finished (i.e. I didn't set it like this):
drwxr-----  3 nobody root        4096 Jun 14 03:20 node_modules

And I just realized that when I fixed the group I obviously forgot to fix 
the rights themselves, too. :-(
(Just did that and it's working now as expected.)

As an aside, you may want to build and install node from source. The Debian 
> packaging of node is quirky, and using either the official binary tarball 
> (if you don’t feel like installing build-essential) or building from 
> source is likely to be more straightforward in the long run.
>
I first tried to use the tarball but I got the same errors there and wasn't 
sure if it's my fault or not; that's the only reason why I switched to the 
debian repo.

Thanks a lot,
Sebastian

>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/c633fa29-8da5-4839-85d5-abd02c58ee4d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to