diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 09e367b2c4109..bebf9e98a3ee7 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -408,6 +408,8 @@ Running Puppeteer on Heroku requires some additional dependencies that aren't in The url for the buildpack is https://github.com/jontewks/puppeteer-heroku-buildpack +Ensure that you're using `'--no-sandbox'` mode when launching Puppeteer. This can be done by passing it as an argument to your `.launch()` call: `puppeteer.launch({ args: ['--no-sandbox'] });`. + When you click add buildpack, simply paste that url into the input, and click save. On the next deploy, your app will also install the dependencies that Puppeteer needs to run. If you need to render Chinese, Japanese, or Korean characters you may need to use a buildpack with additional font files like https://github.com/CoffeeAndCode/puppeteer-heroku-buildpack