简体   繁体   English

将Alexa Skill部署到heroku时出错

[英]Error deploying Alexa Skill to heroku

I appreciate the simplicity with which the jovo-framework developers are explaining their tutorials. 我欣赏jovo-framework开发人员解释其教程的简单性。
Having finished building my skill, using this great framework, I am now trying to deploy it on Heroku. 使用此出色的框架完成了我的技能构建之后,我现在正尝试在Heroku上部署它。 I followed this tutorial: 我遵循了本教程:
How to Deploy your Alexa Skill and Google Action to Heroku 如何将Alexa技能和Google Action部署到Heroku

I believe I have done all the necessary steps as demanded. 我相信我已经按照要求完成了所有必要的步骤。 But when I run this in the console: 但是,当我在控制台中运行此命令时:

heroku open  

the app doesn't work and I get these errors on the console: 该应用程序无法正常运行,我在控制台上收到以下错误消息: 在此处输入图片说明

I am really looking forward to publish my skill and finally see the fruits of my work. 我真的很期待发布自己的技能,并最终看到我的工作成果。
So if anyone knows what might be causing this error, I would totally appreciate the help. 因此,如果有人知道导致此错误的原因,我将非常感谢您的帮助。 Thanks. 谢谢。

The npm start script needs to do node index.js --webhook instead of node index.js . npm start脚本需要执行node index.js --webhook而不是node index.js

The old one was pre Jovo v1.0 , forgot to change this in one part of the tutorial. 旧版本是Jovo v1.0之前的版本,忘记在本教程的一部分中进行更改。 Updated now: How to Deploy your Alexa Skill and Google Action to Heroku > Updating the Package.json . 现在更新: 如何将Alexa技能和Google动作部署到Heroku>更新Package.json

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM