question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to generated PDF

See original GitHub issue

Hi! When doign md2pdf HowToMarkdown.md I get and error when generating the PDF, I read the Troubleshooting link but I couldn’t find what is cause x generating PDF from HowToMarkdown.md → TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md I also get the same error when running md2pdf HowToMarkdown.md --config-file ./config.json And the config looks like this

 {
  "stylesheet": [
    "https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/2.10.0/github-markdown.min.css"
  ],
  "css": " .page-break { page-break-after: always; } .markdown-body { font-size: 11px; }",
  "body_class": "markdown-body",
  "highlight_style": "monokai",
  "marked_options": {
    "headerIds": false,
    "smartypants": true
  },
  "pdf_options": {
    "format": "A5",
    "margin": "20mm"
  },
  "stylesheet_encoding": "utf-8"
}

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
simonhaenischcommented, Nov 14, 2018

Can you please try updating to latest version (2.4.0), and see whether this works for you:

md2pdf HowToMarkdown.md --launch-options '{ "args": ["--no-sandbox"] }'
1reaction
StraightUpCodecommented, Nov 15, 2018

Now it works, thank you very much!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create PDF does not work, results in error | Firefox, Chrome
Solution: Make sure that Acrobat is activated ... Try the following steps to resolve the problem: Ensure that your Acrobat is activated. For...
Read more >
How to Diagnose and Resolve the 'System failed to generate ...
System failed to generate the PDF document errors can occur from various navigation paths in the Purchasing responsibility:.
Read more >
Original Filled Out Form Showing "Failed to Generate PDF".
Update this PDF file: The PDF Converter doesn't delete the online form and the annotations found on the PDF but simply let you...
Read more >
PDF Generator Failed to Generate Documents Properly
Please remove the PDF Generator immediately as it does not seemed to help creating documents in a nice way. Instead, it generates documents...
Read more >
PDF Generator error: "Pdf creation error" - Kofax
Certain files are failing PDF Generator with the following error: ... Core Error: 35 : Failed to generate PDF for document ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found