2017-07-18 58 views
0

我嘗試使用「create-react-native-app」創建反應本機應用程序,但我沒有幾個警告。Warning with create-react-native-app

Despiste的這些警告,過程似乎沒問題,我得到「快樂黑客!」消息和「紗線」命令列表我可以用來測試我的應用程序,但模擬器無法啓動我的應用程序。我想我必須先解決依賴性問題,但是要知道如何正確使用它,因爲我只有「create-react-native-app」命令?

warning react-native-scripts > xdl > auth0-js > xtend > [email protected]: 
warning "[email protected]" has unmet peer dependency "[email protected]^0.14.0 || ^15.0.0-0 || ^16.0.0-0". 
warning "[email protected]" has incorrect peer dependency "[email protected]>=15.4.0". 
warning "[email protected]" has incorrect peer dependency "[email protected]>=15.4.0". 
warning "[email protected]" has incorrect peer dependency "[email protected]>=15.3.1". 

感謝, 球

+0

我已經更新了「紗」使用: '沖泡升級yarn' 這有固定的「反應,本機地圖」,「反應本地分支」和「洛蒂反應的原生」的警告,但我仍然有第一個2. – Orboo

回答

0

在這裏,我怎麼有固定我的問題

brew upgrade yarn 
yarn upgrade 
yarn cache clean 

(我知道,不要評判我:)) 然後,

create-react-native-app . 

命令「yarn run ios」效果不錯

球,

+0

僅供參考我仍然有這個警告,但應用程序工作正常: '警告react-native-scripts> xdl> auth0-js> xtend> [email protected]:'' – Orboo