Skip to content

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

Closed
@sleaper

Description

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.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions