Skip to content
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

RCTFatalException: Unhandled JS Exception: TypeError: Super expression must either be null or a function, js engine: hermes #892

Closed
efstathiosntonas opened this issue Oct 26, 2023 · 9 comments
Labels
bug Something isn't working 🚧 Work In Progress

Comments

@efstathiosntonas
Copy link

  • analytics-react-native version: 2.17.0
  • Integrations versions (if used):
  • React Native version: 0.72.6
  • iOS or Android or both?

Steps to reproduce

use version 2.17.0 and build a release variant, app insta crashes with:

RCTFatalException: Unhandled JS Exception: TypeError: Super expression must either be null or a function, js engine: hermes

downgrading to 2.16.1 solves the issue. When on debug variant it works fine, it only happens in release variant. Let me know if you need any additional info.

    "@babel/core": "^7.23.2",
    "@babel/preset-env": "7.23.2",
    "@babel/preset-typescript": "^7.23.2",
    "@babel/runtime": "^7.23.2",
    "typescript": "^5.2.2"
@efstathiosntonas efstathiosntonas added the bug Something isn't working label Oct 26, 2023
@BenhurKulzer
Copy link

Same error here, tryed to downgrade to older versions but still getting the error:

TypeError: Super expression must either be null or a function, js engine: hermes

@efstathiosntonas
Copy link
Author

@BenhurKulzer make sure there's no ^ before the version on your package.json.

@efstathiosntonas
Copy link
Author

Why issues are so slow in resolving them? This issue is breaking version 2.17 entirely and it's open for 8 days. Is a multi million company lacking resources on resolving issues fast? We're paying thousands of $ every single month and the support is terrible. Yes, it's open source but damn, you're making tons of money from it.

@danielamorimp
Copy link

I've been having the same problem for two weeks, it completely delays the releases. Did anyone manage to solve it?

@BenhurKulzer
Copy link

I've been having the same problem for two weeks, it completely delays the releases. Did anyone manage to solve it?

downgrading to older versions, like 2.16.1 or 2.14.0...

@oscb
Copy link
Contributor

oscb commented Nov 14, 2023

No good excuses why no one took a look at this during time off. Getting back here and looking at this.

@oscb
Copy link
Contributor

oscb commented Nov 15, 2023

Still checking. I have removed meanwhile the faulty version from NPM.

@oscb
Copy link
Contributor

oscb commented Dec 6, 2023

@BenhurKulzer @danielamorimp @efstathiosntonas Sorry for the lack of updates, we have been busy upgrading our tooling to 0.72+ to see if we could catch this but so far no luck. To be fair we're not deviating much from the defaults of a new RN app at each version we have tested (0.71.5, 0.72.6, 0.72.7). At this point we believe this might be caused by a common configuration we haven't tested. I'm thinking something along TS, Babel or RN configs/version combinations.

Any chance someone can share a minimal repro project? Or your project dependencies and configurations for babel, rn, typescript?

@oscb
Copy link
Contributor

oscb commented Mar 18, 2024

Fix is released in v2.19

@oscb oscb closed this as completed Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 🚧 Work In Progress
Projects
None yet
Development

No branches or pull requests

4 participants