angular-cl is stuck in loop while downloading packages
after running command -
sudo npm install -g @angular/cli
i got stuck in a loop -
node version: v9.3.0
npm version: 5.6.0
although on doing -
ng --version
i am getting the output -

This is due to a permission issue with the node installation. One option is to remove the current node installation and use a node version manager such as nvm to install and manage the node installation. This will also eliminate the need to use sudo.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.