nathanboktae / mocha-phantomjs

:coffee: :ghost: Run client-side mocha tests in the command line through phantomjs
MIT License
954 stars 112 forks source link

Mac OS Sierra cannot run PhantomJS 1.9.7 #245

Closed paulrutter closed 8 years ago

paulrutter commented 8 years ago

When running mocha-phantomjs (or plain PhantomJS for that matter) on the new Mac OS Sierra, it fails with the following error:

phantomjs terminated with signal SIGSEGV

Upgrading to a newer PhantomJS version solves this issue (i'm using 2.1.7 right now). I found several issues in the past which requested a newer PhantomJS version, but these were rejected. I do think that we cannot reject it any longer, as Mac OS Sierra no longer works with this older version.

@nathanboktae what do you think? I can file a PR if needed.

latel commented 8 years ago

same issue here, no idea what to do

nathanboktae commented 8 years ago
  1. Use the -p option to specify a different phantomjs binary.
  2. Switch to mocha-phantomjs-core. I will eventually add the same CLI interface to that project as this one and then it will be basically the same as this one but without a direct binary dependency.

distributing the phantomjs binary has been a bag of hurt (#167, #231, #224) and I'm not going to do it going forward. mocha-phantomjs-core will be the future, and with the CLI and even some shell wrappers it'll feel the same project.

latel commented 7 years ago

I switched to mocha-phantomjs-core