-
-
Notifications
You must be signed in to change notification settings - Fork 105
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
PDF output does not work because puppeteer fails to launch on Windows #231
Comments
It's a clear reason but I wonder if ignoring |
The updated v0.18.1 has supported @fmatzy Try running |
We need feedbacks about @fmatzy What happened after that? |
@yhatt I suspect this is a problem with Puppeteer itself and my company's environment. But unfortunately I've moved to another project and am using a PC that is not covered by company policy and on which Puppeteer emits PDF files correctly, so I can't investigate the issue any further. |
Thanks. Probably the managed Chrome by the organization might have been stuck to an incompatible version (Chrome < 77) with the latest Puppeteer. See also: puppeteer/puppeteer#4609 At least it's proved that |
Same issue happened with the marp-vscode version. Maybe this should be posted on marp-vscode, but since it is the same topic, I thought it would be better to post it here. |
Marp for VS Code is using Marp CLI internally. You can try the above workaround by opening VS Code with Marp CLI specific environment value.
|
Thank you! Incidentally, if want to run VSCode by double-clicking on Windows, adding an environment variable in the GUI will work for sure. |
My corporate policy prevents chrome to launch without specific extensions. Puppeteer troubleshooting guide provides how to solve this problem:
Please support to pass this launch option to puppeteer in pdf output procedure.
The text was updated successfully, but these errors were encountered: