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

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

Open
asbjornu opened this issue Apr 6, 2023 · 1 comment
Open

Comments

@asbjornu
Copy link

asbjornu commented Apr 6, 2023

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
Copy link
Author

asbjornu commented Apr 7, 2023

I'm not sure, but puppeteer/puppeteer#2794 may be relevant.

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

No branches or pull requests

1 participant