angular cli - install stuck when extract rxjs
See original GitHub issuewhen run “npm install -g @angular/cli” it will run for some time and its get struck when extracting rxjs . Please help me. i already set proxy configuration.
Versions
node version : 8.10.0 NPM version : 5.6.0 am using windows 10.
Repro steps
when installation get stuck: extract:rxjs: sill pacote rxjs@https://registry.npmjs.org/rxjs/-/rxjs-5.5.6.tgz extracted to C:\Users\p00115856\AppData\Roaming\npm\node_modules
- Step 1
- Step 2
- Step 3
Observed behavior
<!-- Normally this includes a stack trace and some more information. -->
Desired behavior
Mention any other details that might be useful (optional)

Issue Analytics
- State:
- Created 6 years ago
- Comments:14 (1 by maintainers)
Top Results From Across the Web
NPM install hangs when installing packages - Stack Overflow
Solved problem by. Remove package-lock.json; Remove node_modules folder; Run npm install again. (took 30 minutes to finish but finally did).
Read more >Angular CLI Install Fails on RxJS - DEV Community
We tried installing the previous version of the Angular CLI. This failed, as well. npm install -g @angular/cli@12.2.16.
Read more >Bug #1969232 “Angular npm install hangs on extract:rxjs”
Evergreen 3.9 / Affects all versions Running "npm install" in Open-ILS/src/eg2 results in npm freezing on extract:rxjs and pegging the CPU.
Read more >npm install stuck at extract rxjs
npm usually struck at downloading packages and it's much slower than wget. So when you see it fetching some package for a long...
Read more >[Solved]-npm install stuck at extract: zone.js-angular.js
I had the same issue with npm install and I upgraded both node and npm and it worked. Behnood Eghbali 1. score:0. One...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
use administrator permission to open cmd 😃 💯
Possible duplicate of https://github.com/angular/angular-cli/issues/8367
I followed @avalanchy’s solution and it worked for me.
"Ok, it unfreezes after a long time.
From the output grabbed this gyp WARN EACCES user “root” does not have permission to access the dev dir “/root/.node-gyp/8.9.1”. After googling this line I found a solution of adding an extra flag “unsafe-perm” (which is not documented in npm install manual) that fixes the problem:
sudo npm i --unsafe-perm --verbose -g @angular/cli "