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

Warning: TypeError: 0, _$$_REQUIRE(_dependencyMap[6](...)ve-css-interop/jsx-runtime").jsx is not a function (it is undefined) #47

Open
shikhinee opened this issue Nov 23, 2024 · 1 comment

Comments

@shikhinee
Copy link

I've only initialized @rn-primitives/alert-dialog": "^1.1.0 in react-native cli project on v0.76.1. I no longer can run my app due to these errors.
(NOBRIDGE) ERROR Warning: TypeError: 0, _$$_REQUIRE(_dependencyMap6ve-css-interop/jsx-runtime").jsx is not a function (it is undefined).
(NOBRIDGE) ERROR Uncaught error: [TypeError: 0, _$$_REQUIRE(_dependencyMap6ve-css-interop/jsx-runtime").jsx is not a function (it is undefined)] {"componentStack": "
I'm using NativeWind for styling. My project was running fine until I added alert-dialog and I can no longer build it. I've tried downgrading, changing my nativewind version, reconfiguring my babel.config.js, cleaning and rebuilding. Also tried removing my themeContext etc. It's still giving me the same error. I think it'll give the same error for some other components too.

@mrzachnugent
Copy link
Collaborator

Hey @shikhinee, can you provide a minimal reproduction repo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants