0
我安裝陣營本地運行以下命令:錯誤安裝陣營母語:請求https://registry.npmjs.org/yallist失敗,原因:的getaddrinfo EAI_AGAIN registry.npmjs.org:443
sudo npm install -g create-react-native-app
但我收到以下錯誤:
npm ERR! code EAI_AGAIN
npm ERR! errno EAI_AGAIN
npm ERR! request to https://registry.npmjs.org/yallist failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org:443
npm ERR! A complete log of this run can be found in:
npm ERR! /home/zeusx/.npm/_logs/2017-08-16T05_07_19_737Z-debug.log
我怎樣才能解決呢?
你安裝使用代理網絡反應母語
react-native init "ProjectName"
運行反應使用
npm install -g react-native-cli
然後創建項目本地CLI? –