PhantomJS: getting “Killed: 9” for anything I'm trying

后端 未结 6 1335
旧巷少年郎
旧巷少年郎 2020-12-07 23:46

Just installed phantomjs, mac os x yosemite. Whenever I run /bin/phantomjs, with any parameter, I get Killed: 9. Any idea?

6条回答
  •  [愿得一人]
    2020-12-08 00:34

    The eugene1g release and UPX install didn't work for me on El Capitan. What did work for me was installing PhantomJS using the phantomjs2 NPM package:

    npm install phantomjs2
    
    # Optional: symlink in a dir that's on my PATH:
    ln -s /usr/local/lib/node_modules/phantomjs2/lib/phantom/bin/phantomjs /usr/local/bin/phantomjs 
    

提交回复
热议问题