React Native之react-native bundle --platform android --dev false --entry-file index.js --bundle失败
1 问题
react native项目在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
编译结果如下
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
赞 (0)