jovotech / jovo-framework

🔈 The React for Voice and Chat: Build Apps for Alexa, Messenger, Instagram, the Web, and more
https://www.jovo.tech
Apache License 2.0
1.68k stars 309 forks source link

jovo alexa skill deployement issue #155

Closed GAjayKumar closed 6 years ago

GAjayKumar commented 6 years ago

Hi

iam getting an issue while deploying jovo alexa skill.

please refer below error

PS C:\Users\user> jovo deploy

Deploying Alexa Skill x Creating Alexa Skill project for ASK profile default -> Unexpected end of JSON input Deploying Interaction Model, waiting for build

Unexpected end of JSON input

Regards, Ajay

jankoenig commented 6 years ago

Hi @GAjayKumar, as discussed in the other thread, was this resolved by creating a new project?

jankoenig commented 6 years ago

Closing this for now. Let me know if you run into any problems after creating a new project. Maybe also this issue helps: #105

GAjayKumar commented 6 years ago

i tried with creating new project and followed the issue #105 though issue persists.

jankoenig commented 6 years ago

Which language are you using?

csaligram commented 5 years ago

Is this resolved? Even I am getting this error when I deploy. ❯ Deploying Alexa Skill ✖ Creating Alexa Skill project for ASK profile default -> Unexpected end of JSON input Deploying Interaction Model, waiting for build

Unexpected end of JSON input

jankoenig commented 5 years ago

Hi there. Which version of ASK CLI are you using? It's used for deployment, and they changed a few things recently. ask -v. I'm using 1.5.1 and it works for me.

Which version of the Jovo CLI are you using?

csaligram commented 5 years ago

My versions ask - 1.5.1 jovo-cli 1.2.11

jankoenig commented 5 years ago

Can you paste the content of your skill.json please? It's in platforms/alexaSkill

csaligram commented 5 years ago

Here is platforms/alexaSkill/skill.json. { "manifest": { "publishingInformation": { "locales": { "en-US": { "summary": "Sample Short Description", "examplePhrases": [ "Alexa open hello world" ], "name": "helloWorld", "description": "Sample Full Description" } }, "isAvailableWorldwide": true, "testingInstructions": "Sample Testing Instructions.", "category": "EDUCATION_AND_REFERENCE", "distributionCountries": [] }, "apis": { "custom": { "endpoint": { "sslCertificateType": "Wildcard", "uri": "https://webhook.jovo.cloud/425742e6-40ee-473c-b258-147a88ffce17" } } }, "manifestVersion": "1.0" } }

csaligram commented 5 years ago

How does Jovo connect with my Alexa developer account? I haven't set up any skill in Alexa Developer Console. I thought "jovo deploy" would do that automatically

csaligram commented 5 years ago

Thank you. I resolved this. Basically, I had not created an AWS security profile. After doing it through "aws configure" and doing "ask init" I was able to successfully do "jovo deploy".