【发布时间】:2011-09-20 20:45:49
【问题描述】:
我关注了these instructions(除了将可执行文件复制到我的 PATH 中,因为我似乎找不到它而且似乎没有必要)。然后我用
在我的公共 javascripts 目录中创建了一个名为 image_render.js 的文件console.log('Hello, world!');
phantom.exit();
在里面,保存它,然后在我的终端中运行phantomjs render_image.js。
但是,我的终端无法识别该命令:
-bash: phantomjs: command not found
我做错了什么?
【问题讨论】:
标签: javascript debugging error-handling phantomjs