-
Notifications
You must be signed in to change notification settings - Fork 17
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
react/bunshi
import incompatible with React Native
#41
Comments
These warnings and errors often occur due to invalid or missing configurations within the
After attempting these steps, if the issue persists, consider analyzing the error message in more detail or seeking help from sources where you can find more specific information or guidance related to this error. |
Thanks for the bug report @dmitriy-saltovskiy and for the resolution steps @caltikoc I would love to see support for React Native better tested and documented. Would either of you be open to contributing a PR with the fix and some other React Native improvements? |
This is because metro does not support exports in package.json yet. But it is in beta. See this. For me, the simplest fix was to simply import the package from It should be fixed in next versions of react-native... |
Thanks for clarifying and linking out to the relevant resources @kaladivo It might still be possible to fix this issue by changing the build and deploy process to move files from In the meantime:
A few possible tasks for the community to tackle if anyone is keen:
|
react/bunshi
import incompatible with React Native
Hi there, any update on this issue? Seems like package exports is not supported in React native? |
I tried to use it with React Native but got a warning and an error:
warning:
error:
Looks like it connected to that issue react-native-community/cli#1168
The text was updated successfully, but these errors were encountered: