升级到 10.11 (El Capitan) 后,我无法在 macbook 中安装 phantomJs。
每当我尝试使用 Homebrew 程序安装它时,都会出现此错误:
$ brew install phantomjs
phantomjs: OS X Yosemite or older is required.
Error: An unsatisfied requirement failed this build.
最佳答案
Something is broken since Xcode 7 ,如果你有npm,你可以安装它:
npm install -g phantomjs-prebuilt
<小时/>
现在问题已得到处理,您可以 download it .
关于javascript - 在 MacOs 10.11 El Capitan 上安装 PhantomJS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33540903/