-
Notifications
You must be signed in to change notification settings - Fork 110
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 in "./App.tsx": Module parse failed: Unexpected token #262
Comments
hi @sleaper ! Thanks for posting your question. I assume after initial setup that you've mentioned you still have Metro. Can you try to run the app using metro and see if that will work ? If yes, you can also try use node 16.15.0. |
@sleaper please try updating node to at least 16.15.x. Here's the PR (nodejs/node#41736) which removes the need to pass |
Metro works perfectly well, I will try to update node. |
@sleaper any luck with node 16.15.0? |
Could not make it work even with node v.16.15.0. For now I will have to use pnpm without symlinks. |
If you can provide a minimal reproduction repository I might be able to help :) |
Question
I successfully set up my React native app v0.69 with Repack v3 and pnpm. I executed all the necessary steps that are here: https://re-pack.netlify.app/docs/getting-started. I can install the app with
npx react-native webpack-bundle
command. Also I have node v16.14.2 and I use this default webpack config template: https://github.com/callstack/repack/blob/main/templates/webpack.config.mjsBut when I start webpack with this command
npx react-native webpack-start
I get this error message:If you need more information feel free to ask.
The text was updated successfully, but these errors were encountered: