【发布时间】:2017-05-06 12:08:03
【问题描述】:
我正在尝试在 heroku 上部署示例 apiai-facts-about-google-nodejs。我已按照说明操作,但在尝试启动应用程序时,在日志中出现错误:
functions deploy factsAboutGoogle --trigger-http
sh: 1: functions: not found
这似乎是因为代码是为 Google Cloud Functions 编写的。我认为命令:
functions deploy xxxxxx --trigger-http
是特定于 GCF 的。我是否需要以某种方式修改此代码以使其在 Heroku 上运行?
我看到this question/answer 似乎表明它应该按原样工作,但这不是我所看到的。
【问题讨论】:
标签: heroku actions-on-google google-home