Error while excuting chrome without headless on heroku

前端 未结 2 565
臣服心动
臣服心动 2020-12-16 07:58

I am currently working on project where I need to build an application that needs to open an URL in a browser in order to use some functions on it.
for that I used puppe

2条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-16 08:43

    Here is what worked for me. First, I clear all my buildpacks and then I added the puppeteer-heroku-buildpack and the heroku/nodejs one:

    $ heroku buildpacks:clear
    $ heroku buildpacks:add --index 1 https://github.com/jontewks/puppeteer-heroku-buildpack
    $ heroku buildpacks:add --index 1 heroku/nodejs
    

提交回复
热议问题