pyronlaboratory / heroku-integrated-firefox-geckodriver

Buildpack enables your client code to access Firefox along with Geckodriver in a Heroku slug.
https://pyronlaboratory.github.io/heroku-integrated-firefox-geckodriver/
MIT License
41 stars 81 forks source link

Error: The geckodriver executable could not be found on the current PATH #28

Open da-the-dev opened 2 years ago

da-the-dev commented 2 years ago

Thank you for the buildpack!

I've followed the instructions from here and also made sure to add all the environmental variables, but i still get this error

2022-03-30T20:22:27.706157+00:00 app[worker.1]:   Error: The geckodriver executable could not be found on the current PATH. Please download the latest version from https://github.com/mozilla/geckodriver/releases/ and ensure it can be found on your PATH.
2022-03-30T20:22:27.706158+00:00 app[worker.1]:       at findGeckoDriver (/app/node_modules/selenium-webdriver/firefox.js:463:11)
2022-03-30T20:22:27.706158+00:00 app[worker.1]:       at new ServiceBuilder (/app/node_modules/selenium-webdriver/firefox.js:556:22)
2022-03-30T20:22:27.706159+00:00 app[worker.1]:       at Function.createSession (/app/node_modules/selenium-webdriver/firefox.js:612:21)
2022-03-30T20:22:27.706159+00:00 app[worker.1]:       at createDriver (/app/node_modules/selenium-webdriver/index.js:147:33)
2022-03-30T20:22:27.706160+00:00 app[worker.1]:       at Builder.build (/app/node_modules/selenium-webdriver/index.js:720:16)
2022-03-30T20:22:27.706160+00:00 app[worker.1]:       at Function.<anonymous> (/app/dist/modules/dump.js:32:18)
2022-03-30T20:22:27.706161+00:00 app[worker.1]:       at Generator.next (<anonymous>)
2022-03-30T20:22:27.706161+00:00 app[worker.1]:       at /app/dist/modules/mod.js:8:71
2022-03-30T20:22:27.706161+00:00 app[worker.1]:       at new Promise (<anonymous>)
2022-03-30T20:22:27.706162+00:00 app[worker.1]:       at __awaiter (/app/dist/modules/mod.js:4:12)
2022-03-30T20:22:27.706165+00:00 app[worker.1]: 
2022-03-30T20:22:27.707939+00:00 app[worker.1]: Failed to process updates. Error: The geckodriver executable could not be found on the current PATH. Please download the latest version from https://github.com/mozilla/geckodriver/releases/ and ensure it can be found on your PATH.
2022-03-30T20:22:27.707940+00:00 app[worker.1]:     at findGeckoDriver (/app/node_modules/selenium-webdriver/firefox.js:463:11)
2022-03-30T20:22:27.707941+00:00 app[worker.1]:     at new ServiceBuilder (/app/node_modules/selenium-webdriver/firefox.js:556:22)
2022-03-30T20:22:27.707941+00:00 app[worker.1]:     at Function.createSession (/app/node_modules/selenium-webdriver/firefox.js:612:21)
2022-03-30T20:22:27.707942+00:00 app[worker.1]:     at createDriver (/app/node_modules/selenium-webdriver/index.js:147:33)
2022-03-30T20:22:27.707942+00:00 app[worker.1]:     at Builder.build (/app/node_modules/selenium-webdriver/index.js:720:16)
2022-03-30T20:22:27.707942+00:00 app[worker.1]:     at Function.<anonymous> (/app/dist/modules/mod.js:32:18)
2022-03-30T20:22:27.707943+00:00 app[worker.1]:     at Generator.next (<anonymous>)
2022-03-30T20:22:27.707943+00:00 app[worker.1]:     at /app/dist/modules/mod.js:8:71
2022-03-30T20:22:27.707943+00:00 app[worker.1]:     at new Promise (<anonymous>)
2022-03-30T20:22:27.707944+00:00 app[worker.1]:     at __awaiter (/app/dist/modules/mod.js:4:12)

I've check out a simular issue, but I couldn't figure out how it would help me.

Any ideas?

github-actions[bot] commented 2 years ago

Thank you for using heroku-integrated-firefox-geckodriver. Preliminary examination of your issue is underway' first issue