Skip to content

Instantly share code, notes, and snippets.

@aroc
Created October 3, 2016 19:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aroc/c1d7f39b1f6add204dae8935a1a1a90d to your computer and use it in GitHub Desktop.
Save aroc/c1d7f39b1f6add204dae8935a1a1a90d to your computer and use it in GitHub Desktop.
How to fix phantomjs SIGSEGV error when using mocha-phantomjs on macOS Seierra

1. Install upx with brew:

brew install upx

2. Unpack the binary:

navigate to your project folder and run: upx -d node_modules/phantomjs/lib/phantom/bin/phantomjs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment