AmericaSCORESBayArea / AmericaScores-CoachApp

React native based mobile app for Americas scores attendance management
5 stars 2 forks source link

America Scores Attendance.app/main.jsbundle does not exist #456

Open CritiqalPete opened 5 months ago

CritiqalPete commented 5 months ago

Having encountered this issue more than once now I am filing this for tracking and so the steps to address can be verified and added to documentation

Steps taken (not all are necessarily required. this is simply the process I followed)

  1. delete node_modules and package_lock.json
  2. npm install
  3. npm update
  4. cd ios && pod install

Verified on npm v10.4.0

CritiqalPete commented 4 months ago

used react-native bundle --entry-file index.js --platform ios --dev false --bundle-output ios/main.jsbundle --assets-dest ios then add main.jsbundle to build phsaes > copy bundle resources note: this also should address the issue of the images not being found on iOS builds

CritiqalPete commented 4 months ago

https://stackoverflow.com/questions/49505446/main-jsbundle-does-not-exist-this-must-be-a-bug-with-echo-react-native