-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error loading JS bundle when running on Android #1161
Comments
Hello @haozhutw 👋 , Thanks for reporting this issue, I'll check this out and will get back to you with more info as soon as possible. |
hello @haozhutw 👋, Can you please provide the node version you used ? |
node version: v18.19 I downgrade the instabug-reactnative to v12.6.0, no error occurs. |
Maybe ??= is too advanced for some old environment, can you make it compatible like this?
|
This issue has been automatically marked as pending feedback because we need additional information to be able to investigate it further. It will be closed in 7 days if it remains inactive. Thank you for your contributions. |
hello @haozhutw can you please try this version and let us know if it fixes your issue? InstallationYou can install the snapshot through NPM: npm install https://github.com/Instabug/Instabug-React-Native\#snapshot/fix-init-function-error-on-old-node-version or Yarn: yarn add https://github.com/Instabug/Instabug-React-Native\#snapshot/fix-init-function-error-on-old-node-version |
This issue has been automatically marked as pending feedback because we need additional information to be able to investigate it further. It will be closed in 7 days if it remains inactive. Thank you for your contributions. |
@ahmedAlaaInstabug I see that the PR with the fix was merged, but it doesn't seem that a new version was released with that fix? Can this be prioritized? |
We are seeing this issue. It's not supported syntax in React Native. It has nothing to do with Typescript version or Node version. |
A build error is introduced since 12.7.0, please see screenshot below.
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
This is the screenshot of the code in
instabug-reactnative
The text was updated successfully, but these errors were encountered: