-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation on Heroku needs updating #741
Comments
Thanks you @chico |
note that this workaround hasn't been updated for heroku-16 stack, you need to have cedar-14 stack See the end of this thread if you have old Heroku CLI it may throw an error when setting cedar-14 stack |
I just tested this with version Just add it before nodejs buildpack and it should be working. |
@rista404 I was able to get |
In addition to the other solutions commented above... I just successfully installed canvas 2.0.0-alpha.12 and 1.6.11 on the vanilla heroku-16 stack. Both just worked thanks to prebuilds. If anyone has a need to make a from-source build work, I can look into it. |
I followed https://github.com/Automattic/node-canvas/wiki/Installation-on-Heroku but it's now out of date. Heroku now supports multiple buildpacks out of the box.
The simplest way to get node-canvas working is to add the cairo buildpack using the following heroku command:
The text was updated successfully, but these errors were encountered: