Error while installing angular CLI -
i facing timedout error while installing angularcli on corporate network. below error log:
c:\users\a0724458>npm install -g @angular/cli npm err! windows_nt 6.1.7601 npm err! argv "c:\\program files\\nodejs\\node.exe" "c:\\program files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "@angular/cli" npm err! node v6.11.2 npm err! npm v3.10.10 npm err! code etimedout npm err! errno etimedout npm err! syscall connect npm err! network connect etimedout 151.101.8.162:443 npm err! network not problem npm npm err! network , related network connectivity. npm err! network in cases behind proxy or have bad network settings. npm err! network npm err! network if behind proxy, please make sure npm err! network 'proxy' config set properly. see: 'npm config' npm err! please include following file support request: npm err! c:\users\a0724458\npm-debug.log
could me sort out?
if working behind proxy server, need configure it. run following in command line.
npm config set proxy <your proxy server> npm config set https-proxy <your proxy server>
also might need set property strict-ssl
false
.
npm config set strict-ssl false
Comments
Post a Comment