Puppeteer

12 views
Skip to first unread message

John Gerhardt

unread,
May 12, 2024, 9:49:38 AM5/12/24
to NodeChef
Hello,

Has anyone managed to get Puppeteer working on NodeChef?

I am getting a dependency error for chrome, looks like some libraries that are missing.

Is it possible to specify a buildpack so that these dependencies are covered?

Thanks for your help,

John Gerhardt

unread,
May 19, 2024, 7:53:32 AM5/19/24
to NodeChef
Nobody?!

John Gerhardt - Responsable Informatique

unread,
May 28, 2024, 4:48:17 PM5/28/24
to NodeChef
Here was the response I go from support. It works great.

In order to get to the area shown in the screenshot then you need to disconnect and reconnect GIT in the console.. (took me a while to find it...!)

For deployments via Git, to specify multiple buildpacks as in your case. you will use the two buildpacks as seen below:


See image below:
image.png

This will install the puppeteer dependencies required to run the Node.js project. 

If deploying via CLI, you can specify multiple buildpacks using the command: nodechef deploy -i my_project_name -bp https://github.com/jontewks/puppeteer-heroku-buildpack.git,https://github.com/heroku/heroku-buildpack-nodejs.git

Reply all
Reply to author
Forward
0 new messages