在运行打包命令 react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/ 时报utf8 is not a function,解决的方法是将nodejs的版本更新到6.0.0及以上版本,起初我的是5.7.0所以打包一直没通过。重新安装成6.0.0就通过了
React Native 运行js打包命令react-native bundle --platform.....报 utf8 is not a function的解决
最新推荐文章于 2024-03-18 08:00:00 发布