Skip to content
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

sudo rights for npm install? #18

Open
hhzl opened this issue Oct 2, 2014 · 11 comments
Open

sudo rights for npm install? #18

hhzl opened this issue Oct 2, 2014 · 11 comments
Milestone

Comments

@hhzl
Copy link
Member

hhzl commented Oct 2, 2014

On 9/8/14, sebastian sebastianconcept@gmail.com wrote to the ML:

you shouldn’t do
sudo npm …

read here:
http://blog.hood.ie/2014/02/why-you-shouldnt-use-sudo-with-npm/

Currently the recommendation is to use sudo npm install for Debian based systems.

Clarify!

@hhzl
Copy link
Member Author

hhzl commented Oct 17, 2014

Note:
npm-global-without-sudo-linux.md

@ghost
Copy link

ghost commented Oct 17, 2014

Nonworking link.

Hannes Hirzel notifications@github.comnapísal/a:

Note:npm-global-without-sudo-linux.mdReplytothisemaildirectlyorviewitonGitHub.

@hhzl
Copy link
Member Author

hhzl commented Oct 17, 2014

Fixed: npm-global-without-sudo-linux.md

@ghost
Copy link

ghost commented Oct 17, 2014

I don't buy this hysterical 'no sudo with npm install -g'. The OP is linking to one specific issue caused by a bug which was quickly fixed. In general, it works correctly, as per npm/npm#3139 (comment),

@ghost
Copy link

ghost commented Jan 8, 2015

Now I slightly begin to buy it ;-) BTW, this should be added to FAQ somewhere I think (the link to the article where they show how to set -g path to user-local one, or just take excerpt if it is short enough).

@hhzl
Copy link
Member Author

hhzl commented Jan 8, 2015

@philippeback -- you have some notes about this somewhere?

@sebastianconcept
Copy link

Is not good practice to use sudo npm whatever nix systems because it can change the permissions of many other things and Amber team should *not endorse the wrong practice.

  1. https://coderwall.com/p/dxmfpg/one-does-not-simply-sudo-npm
  2. http://howtonode.org/introduction-to-npm
  3. http://hood.ie/blog/why-you-shouldnt-use-sudo-with-npm.html

@philippeback
Copy link

https://github.com/philippeback/amber-book/blob/master/Book/Amber-Installing.pillar
Le 8 janv. 2015 15:57, "Hannes Hirzel" notifications@github.com a écrit :

@philippeback https://github.com/philippeback -- you have some notes
about this somewhere?


Reply to this email directly or view it on GitHub
#18 (comment)
.

@sebastianconcept
Copy link

Addressed, closing..

@hhzl
Copy link
Member Author

hhzl commented Jan 9, 2015

@sebastianconcept In which branch / where did you address this issue?

http://docs.amber-lang.net still shows the old version.

@hhzl hhzl reopened this Jan 9, 2015
@sebastianconcept
Copy link

Ah yes. Thanks for reopening @hhzl

@hhzl hhzl added this to the 0.14 milestone Jan 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants