-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
Getting SyntaxError: Parse error when trying to convert in pdf by wkhtmltopdf. #9381
Comments
This seems like an issue where wkhtmltopdf does not support the version of JavaScript that we're transpiling to. If you use the un-minified version, do you know what line it errors on? |
|
It sounds like it doesn't like In the codebase, you'd need to change the rollup config to include something like babel |
WKHTMLTOPDF correctly prints a row number with the |
**wkhtmltopdf version **: 0.12.6
Description
Chart js html to pdf getting error
How to reproduce
HTML I have used
test.html
Html output :
**Console errorr **
command :
wkhtmltopdf --enable-javascript --javascript-delay 10000 --no-stop-slow-scripts --debug-javascript http://localhost/pdf_test/test.html testpdf101
PDF OUTPUT
Blank , no any chart has displayed.
The text was updated successfully, but these errors were encountered: