Laravel PDF (Spatie) + Puppeteer + Forge: “No usable sandbox” error in production #240
Unanswered
Enadabuzaid
asked this question in
Q&A
Replies: 1 comment
-
After countless hours of searching and trying different things, This worked for me Setting up laravel-pdf which uses browsershot underneath which works with puppetter |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I’m using the spatie/laravel-pdf package (which wraps Browsershot + Puppeteer) to generate PDFs in my Laravel 12 project.
It works perfectly on my local machine, but when I deploy it to my Forge provisioned Ubuntu 24.04 server, I get this error when trying to generate a PDF:
Beta Was this translation helpful? Give feedback.
All reactions