Closed anditsung closed 3 years ago
do you have this problem only on live site ? is it working fine in development environment ?
Yes. Only happen on live site. Dont have any problem on development
did you run npm install puppeteer
on live server ?
yes, already install puppeteer. but after produce will have zero pdf.
email me at zakaria.tayebbey@gmail.com
mail you the file that was generated?
try to run it using thinker
Psy Shell v0.10.8 (PHP 7.4.16 — cli) by Justin Hileman
Spatie\Browsershot\Browsershot::url('https://nova.laravel.com')->save('test.pdf') Spatie\Browsershot\Exceptions\CouldNotTakeBrowsershot with message 'For some reason Chrome did not write a file at
test.pdf
.'
got this exception
on live server need to run this using using global and link that package
install puppeteer using this command npm install -g puppeteer then link global package to current project npm link puppeteer
i install it on live site. but after the download the size is zero.