npm Unable to Install angular-cli

后端 未结 6 2039
南旧
南旧 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:21

    Future viewers: Try below approach (it worked for me)

    Go to nodejs installed location (path may be different in your case)
    C:\Program Files\nodejs\node_modules\npm

    Add below entry in the npmrc file then save it

    strict-ssl=false
    

    Then try installing angular cli

    npm install -g @angular/cli
    

提交回复
热议问题