Skip to content
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

CLIError when exporting to PDF: dir option must be relative to "/tmp" #166

Closed
fdegrave opened this issue Sep 14, 2020 · 3 comments · Fixed by #167
Closed

CLIError when exporting to PDF: dir option must be relative to "/tmp" #166

fdegrave opened this issue Sep 14, 2020 · 3 comments · Fixed by #167

Comments

@fdegrave
Copy link

Hi,

When I try to export my file to PDF I get the following error:

Failure to export: [CLIError] Failed converting Markdown. (dir option must be relative to "/tmp", found "/home/fd".)

I tried playing around with the few settings available but no luck. Any chance you can help me?

Cheers,

François

@yhatt
Copy link
Member

yhatt commented Sep 14, 2020

It will be resolved by merging the latest Marp CLI v0.21.1: marp-team/marp-cli#201, marp-team/marp-cli#283, #165

But Marp CLI in the same VS Code environment still reported another issue (marp-team/marp-cli#287). We will merge and release new version of the extension as soon as fixed it.

@yhatt
Copy link
Member

yhatt commented Sep 16, 2020

A reported error has been fixed by updating Marp CLI. Try new release of the extension, v0.15.1.

If you may see another error message like "Puppeteer was unable to kill the process...", try these steps:

  1. Open VS Code setting.
  2. Find out Markdown > Marp: Chrome Path, and set "/snap/chromium/current/usr/lib/chromium-browser/chrome".
  3. Restart VS Code.
  4. Try again export to PDF.

@arjunskumar
Copy link

Failure to export: [CLIError] Failed converting Markdown. (kill EACCES) occurs whenever i try to save into pdf, i can now save as html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants