Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/heroku/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/silverlight/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
是否从Hubot中删除Heroku设置?_Heroku_Hubot - Fatal编程技术网

是否从Hubot中删除Heroku设置?

是否从Hubot中删除Heroku设置?,heroku,hubot,Heroku,Hubot,我试着在Heroku上运行Hubot,但我放弃了,因为我不想透露我的信用卡号码 相反,我试着在我的mac上运行Hubot。它给出了一个错误,如下所示: $ ./bin/hubot hubot-sample> [Fri Jun 05 2015 11:41:52 GMT+0900 (JST)] ERROR hubot-heroku-alive included, but missing HUBOT_HEROKU_KEEPALIVE_URL. `heroku config:set HUBOT_H

我试着在Heroku上运行Hubot,但我放弃了,因为我不想透露我的信用卡号码

相反,我试着在我的mac上运行Hubot。它给出了一个错误,如下所示:

$ ./bin/hubot
hubot-sample> [Fri Jun 05 2015 11:41:52 GMT+0900 (JST)] ERROR hubot-heroku-alive included, but missing HUBOT_HEROKU_KEEPALIVE_URL. `heroku config:set HUBOT_HEROKU_KEEPALIVE_URL=$(heroku apps:info -s  | grep web_url | cut -d= -f2)`
[Fri Jun 05 2015 11:41:52 GMT+0900 (JST)] INFO Using default redis on localhost:6379
我认为发生这个错误是因为Hubot正在寻找Heroku。如何删除此项?

尝试此项

cd <your-hubot-project-dir>
npm uninstall hubot-heroku-keepalive --save
cd
npm卸载hubot heroku keepalive--保存
然后从文件“externalscripts.json”中查找并删除包含“hubot heroku keepalive”的行


再次运行“bin/hubot”。

谢谢。对不起,迟了答复。您的帖子对我很有帮助。您还必须从external-scripts.json中删除hubot heroku keepalive,否则在加载外部脚本时仍然会出现模块未找到错误。@awesomebing1感谢您的编辑。