我与老打字稿版本1.8 Vs2013我也只是新的打字稿版本2.3NPM启动命令不工作
安装VS 2015年,而从我的项目路径试图NPM启动命令它不工作得到下述错误。
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"
npm ERR! node v6.10.3
npm ERR! npm v3.10.10
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! syscall getaddrinfo
npm ERR! network getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR! Please include the following file with any support request:
npm ERR! C:\Project\Angular2Demo\Angular2Demo\npm-debug.log
任何想法? 在此先感谢
'npm ERR!网络在大多数情况下,您在代理之后或者网络设置不良。“您是否在代理之后?你可以在互联网上(谷歌)ping什么? – litelite
是的,我能ping通谷歌 – cshah
我也试过npm uninstall -g angular-cli npm -g cache clean npm install -g -f angular-cli ..但是执行最后一个命令时npm install -g -f angular- CLI。我越来越erros – cshah