laravel-browsershot icon indicating copy to clipboard operation
laravel-browsershot copied to clipboard

Failed to launch the browser process!

Open MikePageDev opened this issue 3 years ago • 0 comments

I am trying to create and download a PDF from HTML

return PDF::loadView('pdf.certificates.default', $data)
            ->download();

however, I am getting the following error

Error: Failed to launch the browser process! spawn /usr/bin/chromium ENOENT

I am using devilbox as my development environment

I tried adding the following to my .env file and still, get the error

BROWSERSHOT_CHROME=/usr/bin/chromium

MikePageDev avatar Apr 23 '21 09:04 MikePageDev