我在运行时收到以下错误,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)
笔记:
我已经安装了所有依赖项并添加了PATH变量
- 幻影
- Python
- casperjs - 使用全局安装
npm install -g casperjs
在命令提示符casperjs下工作
我试过的:
使用全局安装 npm
npm install -g npm卸载
0.12并降级为0.10.添加了系统变量
C:\Windows\System32;。
任何想法或建议将不胜感激