Suddently I can't install angular I get stuck at the npm install command "npm install -g @angular/cli" It stays forever on this "checking installable status".
my node version is 8.11.3 (yes I already tried to uninstall node and double checked to see it was really uninstalled) this was the version I had before and was working fine my npm -v gives 5.6.0
then I run the angular command to install angular and it seems to freezing or very very very slow....
npm install -g @angular/cli --verbose
After running this command I realized npm was having problems with the connection with registry.npmjs.org
To solve this:
Viewed here
In my case I had to wait for a few minutes and npm finally installed by package. Also I suggest to use --verbose flag to see what's actually is going.
Try this:
npm install -g --no-optional pm2
This will ignore all the dependencies specified in the package.json
file (if present).
Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With