Installation of angular-cli hangs #15429

Open
Apostrofix opened this Issue Jan 8, 2017 · 5 comments

Projects

None yet

3 participants

@Apostrofix

I'm opening this issue because:

  • [*] npm is producing an incorrect install.
  • [*] npm is doing something I don't understand.
  • [*] Other (see below for feature requests):

What's going wrong?

The installation of angular-cli hangs and never completes when I run npm install -g angular-cli

How can the CLI team reproduce the problem?

I downloaded the current version (v7.4.0) of nodejs from https://nodejs.org/en/ , installed it and then tried to install angular-cli by following the guide here but this never finishes.

supporting information:

https://gist.github.com/Apostrofix/ae8c13168ab81256d0205068cbd709bb

snip

I am running the command prompt as Administrator on Windows 10. Here's the link to a StackOverflow post I created earlier: http://stackoverflow.com/questions/41533219/why-does-the-installation-of-angular-cli-hangs There's also a screenshot of the command prompt there.

  • npm -v prints: 4.0.5
  • node -v prints: v7.4.0
  • npm config get registry prints: https://registry.npmjs.org/
  • Windows, OS X/macOS, or Linux?: Windows 10
  • Network issues: none
    • Geographic location where npm was run:
    • [ *] I don't use a proxy and have a stable and reliable internet access.
@legodude17
Contributor

Can you try npm i -g -ddd angular-cli and post results?

@Apostrofix

I just tried to enter this this line, but it seems like this also gets to a point where it's hanging, here is the output: https://gist.github.com/Apostrofix/8f9f3ef9930dd5e240071711f352d6b5
npm.txt

@TikhomirovSergey
TikhomirovSergey commented Jan 11, 2017 edited

Hello. I'm facing the similar issue on Mac Os X Sierra

npm install -g appium
npm install appium@1.6.3
@Apostrofix

@TikhomirovSergey Please post if you find a way to solve it, even though you are on a Mac.

@TikhomirovSergey
TikhomirovSergey commented Jan 11, 2017 edited

@Apostrofix I have got it resolved right now:

sudo su
npm i -g -ddd appium

Before it was hanging for a night. I have no idea what the cause of this behaviour. Trying to investigate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment