kar*_*ick 11 windows node.js phantomjs casperjs spookyjs
我在windows运行时遇到以下错误,spookyjs但代码正在运行linux.
events.js:85
throw er; // Unhandled 'error' event
^
Error: spawn casperjs ENOENT
at exports._errnoException (util.js:746:11
at Process.ChildProcess._handle.onexit (ch
at child_process.js:1137:20
at process._tickCallback (node.js:355:11)
Run Code Online (Sandbox Code Playgroud)
我已经安装了所有依赖项并添加了PATHvaraiables
npm install -g casperjs在命令提示符casperjs下工作
安装npm作为全局使用
npm install -g npm
Run Code Online (Sandbox Code Playgroud)卸载0.12并降级为0.10.
添加了System变量C:\Windows\System32;.
任何想法或建议都将不胜感激
| 归档时间: |
|
| 查看次数: |
875 次 |
| 最近记录: |