Replies: 2 comments 4 replies
-
Install Puppeteer v17: Higher versions don't work. |
Beta Was this translation helpful? Give feedback.
-
To anyone having this problem, fix it in forge by upgrading puppeteer from version 17 to the latest version (21 at the time), then use this command to get the chrome version specific to this version of puppeteer
When it finishes installing chrome it will give the path that you can use in your Laravel project using the parameter:
Note, you need NodeJS 20 to use the latest version of Puppeteer. Important info: |
Beta Was this translation helpful? Give feedback.
-
I've provisioned a new server on Hetzner (Ubuntu 22.04) through Forge and when trying to install using the guide I get the following error -
chmod: cannot access '/usr/lib/node_modules/puppeteer/.local-chromium': No such file or directory
I've looked in this folder and the only files/folders present are
I can't find any reference to this error elsewhere. Even tried creating a new server with different hardware and I have the same issue.
Installed chromium directly and it's located at '/snap/bin/chromium' but even when setting the path to this I still get corrupted files.
Everything works fine locally so it must be a server issue.
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions