Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

CoffeeAndCode/puppeteer-heroku-buildpack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

puppeteer-heroku-buildpack


NOTE: This repository has been deprecated and should no longer be used.

Instead, you can use the original Puppeteer buildpack as well as @gnuletik's font buildpack to add fonts to support more languages.

Read more about this change.


This fork of the jontewks buildpack adds support for Chinese, Korean, and Japanese characters. Since it adds 22MBs for the font files, I've kept it as a separate build pack.

Installs dependencies needed in order to run puppeteer on heroku. Be sure to include { args: ['--no-sandbox'] } in your call to puppeteer.launch

Usage

To use the latest stable version from source code in this repository:

$ heroku buildpacks:set https://github.com/CoffeeAndCode/puppeteer-heroku-buildpack.git

Issues

A common issue that people run into often is a cache issue with heroku. Often when you start seeing errors that chrome won't start and some libraries are missing, you can resolve it by clearing your heroku cache. Instructions for that can be found here: https://help.heroku.com/18PI5RSY/how-do-i-clear-the-build-cache

If you are still running into any issues with this buildpack after doing the above, please open an issue on this repo and/or submit a PR that resolves it. Different versions of chrome have different dependencies and so some issues can creep in without me knowing. Thanks!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%