-
Notifications
You must be signed in to change notification settings - Fork 56
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
Unable to resolve file when using React Native #61
Comments
Do you have some boilerplate code that you can help me with this? |
thank you for your swift response. after the onboarding screen it should navigate to login and crash (because this import line) |
This looks like not all platforms support the For example, It is still experimental in Metro - facebook/metro#670 How to have a temp fix for the project - https://reactnative.dev/blog/2023/06/21/0.72-metro-package-exports-symlinks#package-exports-support-beta Or: import { ... } from 'permissionless/_esm/..' instead of just from 'permissionless' if that helps for the future ^ I know this is bad fix I am looking into better fix or enable the experimental feature. |
thank you, for now I'm using |
Hey @plusminushalf, is there any progress on it? 🙏 |
+1 I think it is possible to provide RN support here given the above work around by @plusminushalf |
+1 same error |
Hi guys,
I'm facing an issue when using React Native. The cause is that this library uses 'import '.js'' while the file itself is '.ts'. This doesn't happen when using plain Node.js. Could you please advise on how to resolve this? Thank you.
The text was updated successfully, but these errors were encountered: