LoginSignup
0
0

More than 3 years have passed since last update.

HerokuでSelenium使ってるときにThis version of ChromeDriver only supports Chrome version XX エラー

Posted at

わりと解消に時間かかったので備忘録として書いておく。

結論としては、Heroku側のキャッシュを削除してリビルドする必要がある。

$ heroku plugins:install heroku-repo

$ heroku repo:purge_cache -a {Herokuで登録してるアプリの名前}

自分のアプリの名前は https://dashboard.heroku.com/apps/XXXXXX ←これ! XXXXXXがアプリ名!
その後、再度ビルドしてあげる。特にコミットするものがないなら

git commit --allow-empty -m "Cache 削除"
git push heroku master

してリビルドしてあげる。 なんかコミットしてリビルドしないと、同じエラー起きてしまうので注意。

参考:キャッシュ削除方法(公式)
https://help.heroku.com/18PI5RSY/how-do-i-clear-the-build-cache

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0