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

React pdf Conflict with @swc/[email protected] #2997

Open
KhalidIrfani opened this issue Dec 11, 2024 · 1 comment
Open

React pdf Conflict with @swc/[email protected] #2997

KhalidIrfani opened this issue Dec 11, 2024 · 1 comment

Comments

@KhalidIrfani
Copy link

Hi everyone!
I am getting this error the @swc/[email protected] with the react-pdf/render and i am using the next 13v
I do all the others way like cache clean , node module delete and reinstall and change the next version but didnt get any solution to resolve this issue
is there any way to resolved this issue

[email protected] D:\alyzone\n-travel-scheduler\n_travel_web_dash
├─┬ @react-pdf/[email protected]
│ └─┬ @react-pdf/[email protected]
│ └─┬ [email protected]
│ └── @swc/[email protected]
└─┬ [email protected]
└── @swc/[email protected]

error - ./node_modules/fontkit/dist/browser-module.mjs:2:0
Module not found: Can't resolve '@swc/helpers/_/_define_property'

Import trace for requested module:
./node_modules/@react-pdf/font/lib/index.browser.js
./node_modules/@react-pdf/renderer/lib/react-pdf.browser.es.js
./src/pages/to/accounting/invoices/list/index.js

https://nextjs.org/docs/messages/module-not-found

@KhalidIrfani
Copy link
Author

KhalidIrfani commented Dec 11, 2024

save

this one is the issue which i getting

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

1 participant