我與老打字稿版本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