-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Cannot set property 'getPageSize' of undefined in version 0.10.0 #464
Comments
Getting same error in our angular project. when running npm audit fix it pulls version 0.10.0. |
My webpack bundles the |
Okay, so an update. First some info:
Now I'm seeing two big issues. First is what @markusv points out, which is that Webpack is consuming Second is that, independent of that (?), the Again, all of this was working with rollup in v0.9.3. I'm working on finding out what's going wrong with the Webpack config. |
I think I've found a solution. My understanding of how Webpack consumes With rollup, I'll try to do an update this evening. |
thanks @eKoopmans for looking into this! looking forward to the fix. |
It works fine now. Thanks for the quick fix, @eKoopmans 👍 |
Hi,
I just updated to jspdf version 0.10.0. Unfortunately it does not work for me. I get this error:
Cannot set property 'getPageSize' of undefined
this is my code:
const input = document.getElementById('root'); html2pdf(input);
I have installed html2pdf.js with npm and use webpack to package my project
The text was updated successfully, but these errors were encountered: