Can't download PDF using Spatie Laravel-pdf

I'm trying to use Spatie Laravel-pdf to generate PDF with the use of Tailwing and tried following the docs https://spatie.be/docs/laravel-pdf/v1/advanced-usage/using-tailwind . However, after installing puppeter I'm still getting problem (pic related).

I've read https://github.com/spatie/laravel-pdf/discussions/57 and tried doing the same in my app.dockerfile since I'm using ddev container to launch my app.

RUN { \
        echo 'memory_limit = 80GB'; \
    } > /usr/local/etc/php/conf.d/docker-php-memory-limit.ini


But this didn't work. Any ideas?
image.png
GitHub
I have a working installation on my Mac, but when trying to run the pdf creation process on AlmaLinux 8, I get this error: The command "PATH=$PATH:/usr/local/bin:/opt/homebrew/bin NODE_PATH=np...
Was this page helpful?