【问题标题】:Installing Casperjs with codeigniter in WAMP在 WAMP 中使用 codeigniter 安装 Casperjs
【发布时间】:2013-09-03 20:00:14
【问题描述】:

我关注http://net.tutsplus.com/tutorials/javascript-ajax/responsive-screenshots-with-casper/ 是为了开始使用 PhantomJS 和 CasparJS。按照指示,我在我的 codeigniter 根目录中安装了 PhantomJS,如下所示:

--application
--system
--index.php
--phantomjs.exe
--casparjs folder

我已经使用 phantomjs --version 测试了 phantom,它提供了正确的版本信息,因此它似乎已安装

在我添加之后: E:\EasyPHP-12.1\www\myproject\casperjs\batchbin

到路径。我试过了:

E:\EasyPHP-12.1\www\myproject\casperjs\batchbin>casperjs.bat --version

得到:

'phantomjs' is not recognized as an internal or external command,
myoperable program or batch file.

我该如何解决这个问题?

【问题讨论】:

    标签: windows phantomjs casperjs


    【解决方案1】:

    您只需要将包含phantomjs.exe 的文件夹添加到您的path 环境变量中。

    【讨论】:

      猜你喜欢
      • 2019-03-03
      • 2011-08-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-09-29
      • 2012-06-24
      相关资源
      最近更新 更多