Stuck at npm install at fechMetadata checking installable status Stuck at npm install at fechMetadata checking installable status angular angular

Stuck at npm install at fechMetadata checking installable status


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:

  1. npm config set registry "http://registry.npmjs.org"
  2. npm set maxsockets 3

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.


To anyone still experiencing this, I spent days searching for a solution, it ended up being easier and more effective to just remove all traces of nvm (and its node) from my machine and reinstall. Everything started working smooth again after the reinstall

I did:

brew uninstall nvmrm -rf $NVM_DIR ~/.nvm ~/.npm ~/.bower# remove nvm entries from my .bash_profile|.bashrc then# installed nvm from nvm's install scriptcurl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.0/install.sh | bash# add to bash_profilecat << EOF >> ~/.bash_profileexport NVM_DIR="$HOME/.nvm"[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completionEOFsource ~/.bash_profilenvm install --lts