Issues running casperjs with phantomjs#2.0.0 on Mac (Yosemite)

前端 未结 3 583
青春惊慌失措
青春惊慌失措 2021-01-05 03:29

I\'m trying to run CasperJS having PhantomJS#2.0.0 on a Mac(Yosemite). When trying to run CasperJS I´m ge

3条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-05 03:45

    Modifying /usr/local/Cellar/casperjs/1.1-beta3/libexec/bin/bootstrap.js does not work for me. I tried but some other problems remain (Could not get casperPath and version correctly).

    This issue is already fixed in master branch. Installing from git would solve this problem.

    Try

    > git clone git://github.com/n1k0/casperjs.git
    > cd casperjs
    > ln -sf `pwd`/bin/casperjs /usr/local/bin/casperjs
    

    It fix my casperjs perfectly.

提交回复
热议问题