jsonresume / resume-cli

CLI tool to easily setup a new resume 📑
https://jsonresume.org
MIT License
4.56k stars 388 forks source link

Error: net::ERR_ABORTED when converting to PDF with custom theme #763

Open asbjornu opened 1 year ago

asbjornu commented 1 year ago

When executing the following:

resume export --theme . --resume ../asbjor.nu/resume.json --format pdf ./asbjornu.pdf

I get the error:

Error: net::ERR_ABORTED at data:text/html;base64,PCYWRlci5mYWRlT3V0KCk7IAoJCSA…Pgo=
    at navigate (/Users/bitbear/Dev/jsonresume-theme-kards/node_modules/puppeteer/lib/cjs/puppeteer/common/Frame.js:199:23)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Frame.goto (/Users/bitbear/Dev/jsonresume-theme-kards/node_modules/puppeteer/lib/cjs/puppeteer/common/Frame.js:169:21)
    at async Page.goto (/Users/bitbear/Dev/jsonresume-theme-kards/node_modules/puppeteer/lib/cjs/puppeteer/common/Page.js:1144:16)
    at async /Users/bitbear/Dev/jsonresume-theme-kards/node_modules/resume-cli/build/export-resume.js:118:5 `createPdf` errored out

Interestingly, JSON Resume concludes that despite of Puppeteer crashing, everything went fine and halts infinitely after printing this:

Done! Find your new .pdf resume at:
  ~/Dev/jsonresume-theme-kards/asbjornu.pdf

Thoughts?

asbjornu commented 1 year ago

I'm not sure, but https://github.com/puppeteer/puppeteer/issues/2794 may be relevant.