版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u011068702/article/details/83514194
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