在iron.io中运行casperjs时权限被拒绝 [英] Permission denied when run casperjs in iron.io

查看:97
本文介绍了在iron.io中运行casperjs时权限被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在测试iron.io中的casperjs作为这个例子

I'm testing casperjs in iron.io as this example

https://github.com/iron-io/iron_worker_examples/blob/master/binary/casperjs/googlelinks.js

但是当iron_worker完成此任务时,它会给出错误消息

but when iron_worker complete this task, it gives an error message


./ run.sh :2:./ run.sh:casperjs / bin / casperjs:权限被拒绝

./run.sh: 2: ./run.sh: casperjs/bin/casperjs: Permission denied

关于如何解决这个问题的想法?

Any idea on how to fix this?

谢谢

推荐答案

在run.sh中:

..
chmod +x casperjs/bin/casperjs
..

这篇关于在iron.io中运行casperjs时权限被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆