React Native之react-native bundle --platform android --dev false --entry-file index.js --bundle失败
生活随笔
收集整理的這篇文章主要介紹了
React Native之react-native bundle --platform android --dev false --entry-file index.js --bundle失败
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
1 問題
react native項(xiàng)目在assert目錄下面生成index.android.bundle文件用下面的命令
react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res
編譯結(jié)果如下
Scanning folders for symlinks in /home/chenyu/7.6.6/10.12/SecureMail/SecureMail/node_modules (10ms)
Scanning folders for symlinks in /home/chenyu/7.6.6/10.12/SecureMail/SecureMail/node_modules (9ms)
Loading dependency graph...
?
?
?
?
2 解決辦法
npm install --verbose
總結(jié)
以上是生活随笔為你收集整理的React Native之react-native bundle --platform android --dev false --entry-file index.js --bundle失败的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: React Native之hardwar
- 下一篇: Android之通过ContentRes