pevers / images-scraper

Simple and fast scraper for Google
ISC License
225 stars 70 forks source link

Error on heroku #55

Closed WhoIAm451 closed 3 years ago

WhoIAm451 commented 3 years ago

When i use the images-scraper api on heroku i have this error : Error: Failed to launch the browser process!

pcurz commented 3 years ago

You must install https://elements.heroku.com/buildpacks/jontewks/puppeteer-heroku-buildpack and also, set this in CLI npm config set puppeteer_download_host=https://npm.taobao.org/mirrors then, reinstall puppeteer

pevers commented 3 years ago

Thanks @feroci1024 ! Closing this and adding it to the README.