Support for Node 22 #3049
paulprihor
started this conversation in
General
Replies: 2 comments 3 replies
-
|
Same issue here. anyone else ? Not sure why but below setup in tsconfig.json can bypass this issue when I use tsc. "compilerOptions": {
// ... sth else
"target": "ES2022",
"module": "commonjs",
"esModuleInterop": true, // seems optional
"allowSyntheticDefaultImports": true // seems optional
}, |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
FWIW, I am using Node 22 and did not have any such issue |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone,
Is there a plan for supporting also Node 22 ? I try upgrading my project and I got the following error:
node_modules/@react-pdf/renderer/lib/react-pdf.d.ts(24,1): error TS1203: Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead.Thanks. Have a nice day!
Beta Was this translation helpful? Give feedback.
All reactions