2017-04-03 111 views
0

無法運行npm install -g創建反應應用程序,它給出的錯誤如下: 任何意見?謝謝無法運行npm install -g創建反應應用程序

C:\Learning\ReactJS\basic-react>npm install -g create-react-app 
npm ERR! Windows_NT 6.1.7601 
npm ERR! argv "C:\\node.exe" "C:\\node_modules\\npm\\bin\\npm-cli.js" "install" 
"-g" "create-react-app" 
npm ERR! node v4.4.4 
npm ERR! npm v2.15.1 
npm ERR! code ENOTFOUND 
npm ERR! errno ENOTFOUND 
npm ERR! syscall getaddrinfo 

npm ERR! network getaddrinfo ENOTFOUND proxyaddress proxyaddress:80 
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 settin 
gs. 
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:\Learning\ReactJS\basic-react\npm-debug.log 

回答