You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apologies if I'm polluting your issues, but just wanted to put this here in case it helps someone else, as I came looking here first as we use your library.
Redeployed our code today and PDF generation broke. Looks like it may be a bug introduced by Chrome? chrome-php/chrome#649
Uncaught PHP Exception Spiritix\Html2Pdf\ConverterException: "Binary error: file:///PATH/TO/PROJECT/vendor/spiritix/php-chrome-html2pdf/node_modules/@puppeteer/browsers/lib/esm/launch.js:301
reject(new Error([
^ Error: Failed to launch the browser process! chrome_crashpad_handler: --database is required Try 'chrome_crashpad_handler --help' for more information. [1796849:1796849:1008/000936.708637:ERROR:socket.cc(120)] recvmsg: Connection reset by peer (104) TROUBLESHOOTING: https://pptr.dev/troubleshooting at Interface.onClose (file:///PATH/TO/PROJECT/vendor/spiritix/php-chrome-html2pdf/node_modules/@puppeteer/browsers/lib/esm/launch.js:301:24) at Interface.emit (node:events:529:35) at Interface.close (node:internal/readline/interface:534:10) at Socket.onend (node:internal/readline/interface:260:10) at Socket.emit (node:events:529:35) at endReadableNT (node:internal/streams/readable:1400:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) Node.js v18.20.4 " at Converter.php line 271...
Hope this helps someone else!
The text was updated successfully, but these errors were encountered:
What ended up working for me, or at least a work-around for now, is to create the directories like mentioned in the linked issue: chrome-php/chrome#649 (comment)
Hi there,
Apologies if I'm polluting your issues, but just wanted to put this here in case it helps someone else, as I came looking here first as we use your library.
Redeployed our code today and PDF generation broke. Looks like it may be a bug introduced by Chrome?
chrome-php/chrome#649
Hope this helps someone else!
The text was updated successfully, but these errors were encountered: