mikeraimondi / heroku-buildpack-google-chrome

Run (headless) Google Chrome on Heroku
2 stars 3 forks source link

Heroku NSS >= 3.26 issue #1

Open danielsantiago opened 7 years ago

danielsantiago commented 7 years ago

Reference: https://github.com/GoogleChrome/puppeteer/issues/290#issuecomment-323405004

[0818/171943.586886:FATAL:nss_util.cc(627)] NSS_VersionCheck("3.26") failed. NSS >= 3.26 is required. Please upgrade to the latest NSS, and if you still get this error, contact your distribution maintainer.

I think the issue is that I'm using Cedar-14 and this buildpack only install the dependencies on Heroku-16

https://github.com/heroku/heroku-buildpack-google-chrome/blob/master/bin/compile#L64

mikeraimondi commented 7 years ago

Probably related to @heroku/heroku-buildpack-google-chrome#29

danielsantiago commented 7 years ago

I upgrade to Heroku-16 and now everything is working as expected. Mike, thanks for the help!

For future reference these are the things needed to make this work on heroku:

Upgrade to heroku-16

https://devcenter.heroku.com/articles/heroku-16-stack#upgrading-an-app-to-heroku-16

Install this buildpack

heroku buildpacks:add https://github.com/mikeraimondi/heroku-buildpack-google-chrome

Clear heroku cache

heroku repo:purge_cache

Deploy