main.jsbundle, Foundation and Security missing in the project, causing error

前端 未结 4 447
我在风中等你
我在风中等你 2021-02-01 22:43

I\'ve noticed that file main.jsbundle file is missing from the project and am not sure of how to fix it, should I delete the file / is there a step I can perform to

4条回答
  •  醉话见心
    2021-02-01 23:31

    i am using react-native version- 0.47.1 in my case after running the command suggested by @pritishvaidya solved the main.js bundle issue, but even in release build i could see the yellow warning boxes. So i modified the command by adding --dev false. That did the trick. Leaving this updated command here in case, someone is stuck like me.

    react-native bundle --entry-file ./index.ios.js --platform ios --dev false --bundle-output ios/main.jsbundle --assets-dest ./ios
    

提交回复
热议问题