Open Roua580 opened 4 months ago
I am also observing the issue, the output is:
Trace: Error [TypeError]: Cannot read properties of null (reading 'cloneNode')
at evaluate (evaluate at processPage (/src/github.com/AmruthPillai/Reactive-Resume/dist/apps/server/main.js:13123:50), <anonymous>:1:50)
at ExecutionContext.#evaluate (/src/github.com/AmruthPillai/Reactive-Resume/node_modules/.pnpm/puppeteer-core@22.9.0/node_modules/puppeteer-core/src/cdp/ExecutionContext.ts:431:34)
at ExecutionContext.evaluate (/src/github.com/AmruthPillai/Reactive-Resume/node_modules/.pnpm/puppeteer-core@22.9.0/node_modules/puppeteer-core/src/cdp/ExecutionContext.ts:284:12)
at IsolatedWorld.evaluate (/src/github.com/AmruthPillai/Reactive-Resume/node_modules/.pnpm/puppeteer-core@22.9.0/node_modules/puppeteer-core/src/cdp/IsolatedWorld.ts:192:12)
at CdpFrame.evaluate (/src/github.com/AmruthPillai/Reactive-Resume/node_modules/.pnpm/puppeteer-core@22.9.0/node_modules/puppeteer-core/src/api/Frame.ts:470:12)
at CdpPage.evaluate (/src/github.com/AmruthPillai/Reactive-Resume/node_modules/.pnpm/puppeteer-core@22.9.0/node_modules/puppeteer-core/src/api/Page.ts:2185:12)
at processPage (/src/github.com/AmruthPillai/Reactive-Resume/dist/apps/server/main.js:13123:39)
at PrinterService.generateResume (/src/github.com/AmruthPillai/Reactive-Resume/dist/apps/server/main.js:13136:17)
at PrinterService.printResume (/src/github.com/AmruthPillai/Reactive-Resume/dist/apps/server/main.js:13062:21)
at ResumeService.printResume (/src/github.com/AmruthPillai/Reactive-Resume/dist/apps/server/main.js:13859:21)
at PrinterService.generateResume (/src/github.com/AmruthPillai/Reactive-Resume/dist/apps/server/main.js:13167:21)
at PrinterService.printResume (/src/github.com/AmruthPillai/Reactive-Resume/dist/apps/server/main.js:13062:21)
at ResumeService.printResume (/src/github.com/AmruthPillai/Reactive-Resume/dist/apps/server/main.js:13859:21)
at ResumeController.printResume (/src/github.com/AmruthPillai/Reactive-Resume/dist/apps/server/main.js:13506:25)
i meet this problem too, so i have to use latex to write my resume again /(ㄒoㄒ)/~~
When generating PDFs, headless Chrome needs to download and import fonts from the internet. If the network environment is poor and loading times out, it can cause the PDF export to fail. I think it might be better to store the font files as static files in MinIO or on a server.
I found a solution:
PS: If we had a guide to a private preview page, it would be easy to indirectly solve this problem of exporting PDF and significantly reduce resource consumption.
Is there an existing issue for this?
Product Variant
Self-Hosted
Current Behavior
Cant download cv pdf format when you click on the tab
Expected Behavior
the download is supposed to launch
Steps To Reproduce
No response
What browsers are you seeing the problem on?
Firefox
What template are you using?
None
Anything else?
No response