expo stops executing the code

Please provide the following:

  1. SDK Version: 45
  2. Platforms(Android/iOS/web/all): all
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

Expo stops executing the code at different lines every time. But the app sometimes works fine when published.