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

Failed to launch the browser process #55

Closed
MarcPinnell opened this issue May 20, 2023 · 1 comment
Closed

Failed to launch the browser process #55

MarcPinnell opened this issue May 20, 2023 · 1 comment

Comments

@MarcPinnell
Copy link

Trying to get this running and having a devil of a time. My tech and I have been through the troubleshooting steps listed, but not finding anything. Help!

Here's the error I am getting when I try to convert an HTML file:

Binary error: file:///home/sites.local/cattle.local/vendor/spiritix/php-chrome-html2pdf/node_modules/puppeteer/lib/esm/puppeteer/node/BrowserRunner.js:269
reject(new Error([
^

Error: Failed to launch the browser process!
../../base/allocator/partition_allocator/partition_address_space.cc(70) Check failed: false


TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

at onClose (file:///home/sites.local/cattle.local/vendor/spiritix/php-chrome-html2pdf/node_modules/puppeteer/lib/esm/puppeteer/node/BrowserRunner.js:269:20)
at Interface.<anonymous> (file:///home/sites.local/cattle.local/vendor/spiritix/php-chrome-html2pdf/node_modules/puppeteer/lib/esm/puppeteer/node/BrowserRunner.js:257:24)
at Interface.emit (node:events:525:35)
at Interface.close (node:internal/readline/interface:533:10)
at Socket.onend (node:internal/readline/interface:259:10)
at Socket.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1359:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

Node.js v18.14.2

Any ideas?

@spiritix
Copy link
Owner

Try these steps here: puppeteer/puppeteer#6978 (comment)

Generally, this error could also mean that there isn't enough memory available to launch Chromium.

@spiritix spiritix closed this as completed Apr 4, 2024
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

2 participants