-
-
Notifications
You must be signed in to change notification settings - Fork 11
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] No matching export in "node_modules/react-native-screens/src/index.native.tsx" for import "isSearchBarAvailableForCurrentPlatform" #33
Comments
@oblador how can I solve this problem? |
I have the same experience. Idk more what I have to do. I think could be:
I visited many sites, looked all files of this library, and other projects who used this library, but no one could resolve. @oblador , we need an answer about that! |
To my understanding this is rooted in re-exporting types. I believe replacing them with explicit |
Regardless, if you want my help i need a minimal code example reproducing the error |
Yeah, I understand your explanation, but I cannot modify all my files of node_modules to adapt to this. Also, I discovered that this error is originally from esbuild. So, as you use that, you inherited this error. |
node_modules in absolute majority of cases will ship transpiled code. I've worked in very large code bases and encountered this problem (which is not specific to just esbuild actually), but never in a third party lib. If it indeed is the case that they are only shipping TS, it's possible to patch it with |
But a patch-package for one by one of the erros, in the start of the project, is a shot in the foot. |
I tried to run it after changing the
react-native-config.js
setting after a normal installation, but an error occurs during compilation.My guess is that I don't support
esm
.The text was updated successfully, but these errors were encountered: