-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
- I'm submitting a ...
[X] bug report
The app doesn't work on minified/production code.
Step:
- create a new app
- run expo start --no-dev
- try to open web/android/ios it will not start
- 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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels