Installing npm package fails with 404

后端 未结 11 1091
自闭症患者
自闭症患者 2020-12-10 11:35

Using the command prompt, I am trying to install angular CLI and it fails. I have npm version 5.5.1 and node version v8.9.1. I am trying to install angular cli using the com

11条回答
  •  佛祖请我去吃肉
    2020-12-10 11:56

    It was giving the same error for me when I use office network/vpn as they have 'umbrella' DNS security shield. To solve this issue, connect to personal network and type the below commands:

        npm config set registry http://registry.npmjs.org
        npm install -g @angular/cli
    
    

提交回复
热议问题