-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
[Bug]: ' Unexpected "typeof" ' / ' Expected "from" but found "{" ' with 'react-native' #24584
Comments
Hello team I can resolve this issue please assign this to me |
Anybody given solution to this issue? I'm getting the same |
So,
Further, you can add even more RN-based packages to be stripped in a targeted way, much like this library does: https://github.com/oblador/react-native-esbuild?tab=readme-ov-file#flow-syntax-errors-such-as-expected-from-but-found-. They even mention this error specifically. You might be able to build your entire project with this, but I can't vouch for its stability. I know I'll be trying it soon, and watching for Hot Module Replace functionality. There are more and more |
I have a similar issue, but with Should |
same issue with rollup esbuild
|
any one resolve this problem |
Still not resolved? |
viteFinal: async (config) => |
Describe the bug
Hello,
we are trying to get our project (React 18, Node 18, TypeScript 5.2, Vite 4.5, Storybook 7.5) running in Storybook.
At startup it always runs into the following error in conjunction with react-native (0.72.6).
Does anyone have any ideas or suggested solutions?
The text was updated successfully, but these errors were encountered: