Had similar problem while setting up Jenkins CI with Node.js. Ended up 
installing it locally for every user that needs it and altering path env 
variable.

Maybe there's better way, but in our case it was sufficient.

On Friday, 13 June 2014 18:06:57 UTC+4, Sebastian Sester wrote:
>
> Dear all,
>
> I'm trying to set up Node.js and NPM on a multi-user-machine so it can be 
> used for all users without requiring sudo.
> I followed the instructions for backporting Node to Wheezy [0] and am now 
> able to run nodejs (and node) for all users.
> Since I do need npm, too, I did as recommended and used the install script 
> given on the website.
>
> But since npm gets installed to /usr/local, I can't execute it without 
> sudo. Also, changing the ownership of /usr/local/… to my user (as often 
> suggested) won't help, since other users need to access it, too.
>
> Is there any documentation on how to do this correctly?
>
> Thanks in advance,
> Sebastian
>
> [0] 
> https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager#backports
>

-- 
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 nodejs+unsubscr...@googlegroups.com.
To post to this group, send email to nodejs@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/81892c6b-6634-4c41-a656-028008c6b402%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to