-
Notifications
You must be signed in to change notification settings - Fork 12k
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
angular cli - install stuck when extract rxjs #9942
Comments
Possible duplicate of #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 " |
This appears to be an npm installation issue, which is not something that we're able to assist with, please see the possible duplicate issue above. |
i also have the same problem while upgrading to angular 6, any solution? |
use administrator permission to open cmd :) 💯 |
hi guys, any fix ? |
By providing write access to node_modules and installing packages by |
@ashraphs its a long shot, but are you running in a vagrant VM? npm install creates a lot of I/O on the virtual machine that might make it crash. I just ran into this issue this morning on ubuntu/bionic64 see error description here: https://www.virtualbox.org/ticket/16417 Only occurs on a shared folder though, so hotfix for me was to copy the package.json in a folder that was not shared between guest and host system, run npm -i there and then cp -r the node_modules folder over afterwards. Good luck. |
I had the SAME issue: installation stalled on rsjx. Closed down the terminal, and restarted the process again, same issue the second time, BUT, I decided to let it sit and came back 30 mins later and it worked! I guess it just took time?? |
@radhemohan found your solution worked thanks! not sure if adding sudo actually did anything or not but the code still worked fine. |
Install dependency one by one then it will work. |
If you are running behind proxy, Configure proxy for npm and Git by running below commands. In case proxy needs credentials, you need to pass credentials like below, Git: This Resolved my problem. Hope this info will help you all |
This is why I hate Node and all the related sh.... that comes with it. The process of problem solving is so arbitrary you never know what to expect. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
when 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
Observed behavior
Desired behavior
Mention any other details that might be useful (optional)
The text was updated successfully, but these errors were encountered: