Greetings Earthlings…
It is difficult to install NodeJS or NPM somtimes. So when we are behind a corporate web proxy. And you never know why Angular CLI stopped working.
For instance when you are behind a corporate proxy. Try to install something in Angular and your NPM does some background work here. NPM internally doesn’t have access to an outside world. The installation stops abruptly.
To fix this, let’s go step by step;
Install NodeJS, it is always better to ask your software installation team, they will be happy to oblige to install it in your local working PC.
To setup NPM;
We need to configure NPM to use proxy with login credentials of your organization; If proxy requires you to authenticate.
Fire up command terminal and execute the below commands.
https://gist.github.com/uigarage/e0678270ced1dcfe226e43256147607d
The port number should be modified to the one matches you organization’s proxy.
And you are all set.