npm Unable to Install angular-cli

后端 未结 6 1998
南旧
南旧 2021-01-14 13:59

I am trying to install angular-cli via npm. I have the recent version of Nodejs and git installed. I am not behind any proxy server(verified it through netsh winhttp s

6条回答
  •  囚心锁ツ
    2021-01-14 14:19

    Yes, this can be caused either by a firewall or a proxy. Can you ping the npm registry host and fetch a simple file?

    > ping registry.npmjs.org
    > npm view npm version
    

    If the ping is not successful, check your connection or disable your firewall.

提交回复
热议问题