Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

vidhyaprakash85's avatar

Laravel pdf / browser shot

I am getting this error in my production server

The command "PATH=$PATH:/usr/local/bin NODE_PATH=`npm root -g` node '/var/www/xxx/vendor/spatie/browsershot/src/../bin/browser.cjs' '

Eventhough i have installed the puppeteer package globally. I dont know what i am missing here.

Server: Almalinux 9 Laravel : 10.x PHP: 8.2.19

0 likes
0 replies

Please or to participate in this conversation.