-
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
Upon trying to install module as a privileged user (root) NPM gets stuck in a loop #1383
Comments
Thanks for the bug report. Good write-up. Can you check if #1384 fixes it? |
Hi @bnoordhuis I have the same problem. As the npm install configured as a part of the app build, most of our Jenkins jobs are knocked down. We can't manually install and try the steps. it needs some serious fixing soon. Thanks. |
Well, did the PR work for you? |
Nope, It didn't work for me. |
@arocki7 Then it's probably not the same issue. Can you file a new bug report and post steps to reproduce and anything else that is relevant? |
@bnoordhuis will do. |
I also get that error on a clean ubuntu 17 (artful) install. Just setup Ubuntu, then install nodejs 8.10 LTS, then try to install As a workaround I could |
I encountered the same issue yesterday trying to install
did the trick. (Can someone confirm that invocation makes sense? If yes, that might be a fine addition to the wiki page.) No infinite loop happens anymore when I try to install the
AFAICS, I can work around this by manually specifying Edit: Aaaand just now I found out about |
Hey people, if this even can make any "profit" for you, I am mean if this is still relevant - in order to solve this issue with "root" user all you need to include in your command: This is well described here: #454 |
@magnafilix thank you for this. You saved me so much time with this. |
node 8.9.4 / npm 5.6.0
Linux apollo 4.4.0-87-generic common.gypi #110-Ubuntu SMP Tue Jul 18 12:55:35 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
node-sass
Verbose output (from npm or node-gyp):
I'm not trying to install
node-sass
as a global package so this cannot apply: https://docs.npmjs.com/getting-started/fixing-npm-permissions.Screen share here.
Steps to reproduce
npm init --yes
npm install node-sass --save
The text was updated successfully, but these errors were encountered: