Issue in installing Angular js #160056
Replies: 3 comments
-
Have you tried verifying the npm proxy configuration? if not try to check it |
Beta Was this translation helpful? Give feedback.
-
Set the proxy for npm and Angular CLI manually:
Try clearing the cache: Check if Angular CLI is installed properly: If that fails, try reinstalling Angular CLI: |
Beta Was this translation helpful? Give feedback.
-
1. Clear npm cache and retrynpm cache clean --force
ng new angular 2. Use a different npm registrynpm config set registry https://registry.npmjs.org/
# Or try a mirror
npm config set registry https://registry.npmmirror.com/ 3. Increase timeout valuesnpm config set timeout 60000
npm config set fetch-timeout 60000
ng new angular 4. Check your network connection
5. Use Yarn instead of npmnpm install -g yarn
ng new angular --package-manager=yarn 6. Create project without initial npm installng new angular --skip-install
cd angular
npm install 7. Configure proxy (if behind corporate firewall)npm config set proxy http://proxy-server:port
npm config set https-proxy http://proxy-server:port |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Dear support team ,
We are trying to install the angular js with the below command and get the error as below
Also update to this we are using the proxy and as we checked with our proxy team ,there is no issue at that level
Kindly do the needful

Beta Was this translation helpful? Give feedback.
All reactions