Skip to content

App not working on expo production mode #25

@francesco-clementi-92

Description

@francesco-clementi-92
  • I'm submitting a ...
    [X] bug report

The app doesn't work on minified/production code.

Step:

  1. create a new app
  2. run expo start --no-dev
  3. try to open web/android/ios it will not start
  4. if you digit w on console, it will show the real error
C:\my-react-dapp\node_modules\metro-hermes-compiler\src\emhermesc.js:81
          throw ex;
          ^

RuntimeError: abort(TypeError: Cannot read properties of undefined (reading 'before')). Build with -s ASSERTIONS=1 for more info.        
    at process.abort (C:\cry\my-react-dapp\node_modules\metro-hermes-compiler\src\emhermesc.js:796:13)
    at process.emit (node:events:390:28)
    at process.emit (C:\Users\cico\AppData\Roaming\npm\node_modules\expo-cli\node_modules\source-map-support\source-map-support.js:439:21)
    at emit (node:internal/process/promises:136:22)
    at processPromiseRejections (node:internal/process/promises:242:25)
    at processTicksAndRejections (node:internal/process/task_queues:97:32)

Please any idea on how to run the app in production mode?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions