Skip to content
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

problem with loader #128

Open
doudouinfo opened this issue May 22, 2024 · 1 comment
Open

problem with loader #128

doudouinfo opened this issue May 22, 2024 · 1 comment

Comments

@doudouinfo
Copy link

this is my problem when I use this problem:
./node_modules/react-to-pdf/dist/module.js 43:32
Module parse failed: Unexpected token (43:32)
File was processed with these loaders:

  • ./node_modules/react-scripts/node_modules/babel-loader/lib/index.js
    You may need an additional loader to handle the result of these loaders.
    | format: this.options.page.format,
    | orientation: this.options.page.orientation,
  ...this.options.overrides?.pdf,                                 

| unit: "mm"
| });

@rajivchaulagain
Copy link

@doudouinfo check out this it's the same error as of yours
wojtekmaj/react-pdf#1043

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants