I am trying to open a web-based React-app on chrome on an Android emulator but am getting the following error: Unhandled Runtime Error Uncaught SyntaxError: Unexpected Token .
The same app can be opened through chrome on localhost or through mobile chrome on my smartphone but not on the android emulator. Any thoughts why this is happening and how it could be solved?
Local setup:
- React app (with Typescript)
- Snowpack dev server
- Android Studio - Android Emulator (Pixel 4 API 29 / Android 10.0)
- Chrome browser