Skip to content

Error loading JS bundle when running on Android #1161

@haozhutw

Description

@haozhutw

A build error is introduced since 12.7.0, please see screenshot below.

Screenshot_1709550396

Did you test the library before you publish the new version?

SDK Version

"instabug-reactnative": "12.7.0",

Device Model

Android simulator

[Optional] Project That Reproduces the Issue

just upgrade instabug-reactnative to 12.7.0, build on Android simulator successfully and then failed to load the js bundle because of this error

error node_modules/instabug-reactnative/src/modules/Instabug.ts: Unexpected token: operator (?) in file node_modules/instabug-reactnative/src/modules/Instabug.ts at 52:36. Run CLI with --verbose flag for more details.

This is the screenshot of the code in instabug-reactnative

Screenshot 2024-03-04 at 19 09 42

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions