LoginSignup
9
9

More than 5 years have passed since last update.

Yosemite(Mac OSX 10.10.1)でbrew installしたphantomJSがcrashしたときの対処法

Last updated at Posted at 2015-02-01

rspecでcapybara動かすときにphantomjsがcrashしてハマったのでメモ

サマリ

エラーが起きた環境

  • Yosemite Mac OS 10.10.1
  • phantomJS 1.9.8 (brewでinstallしたもの)

Yosemite(Mac OSX 10.10.1)は相性が悪く、
capybaraなどでphantomjsを使う際、下記のエラーが出る。

PhantomJS has crashed. Please read the crash reporting guide ・・・

対処法

brewでバージョン指定面倒なので、npmでバージョン指定して入れる

brew uninstall phantomjs
npm  install   phantomjs@1.9.7-15
9
9
1

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
9
9