repack icon indicating copy to clipboard operation
repack copied to clipboard

Error in "./App.tsx": Module parse failed: Unexpected token

Open sleaper opened this issue 3 years ago • 0 comments

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.mjs

But when I start webpack with this command npx react-native webpack-start I get this error message: image

If you need more information feel free to ask.

sleaper avatar Oct 07 '22 15:10 sleaper