Closed tbrandle closed 8 months ago
Im having the same problem here. I tried editing the code inside the package itself but no luck. My versions:
node -v
v16.18.1
package.json
"@react-pdf/renderer": "^3.3.8",
"react": "^18.2.0",
"react-pdf-html": "^1.2.0"
Hi!
I encountered the same issue, and I was able to solve it by downgrading @react-pdf/renderer
to version 3.1.14
and react-pdf-html
to 1.1.22
.
Has anyone found a root cause for this? the @react-pdf/renderer docs still seem to reference StyleSheet.create
: https://react-pdf.org/styling
I'm going to consider this closed and a react-pdf issue until I hear otherwise
I'm running into an error in the browser complaining about the
StyleSheet.create
method increateHtmlStylesheet
.Here are my versions:
Any help would be appreciated!