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.67k stars 310 forks source link

Unexpected end of JSON input (Windows / Linux, several npms ) #291

Closed boaretti closed 5 years ago

boaretti commented 5 years ago

I'm submitting a...

Expected Behavior

Current Behavior

Trying a simple helloWorld but all NPM versions, 2 Machines and I got the same behaviour:

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

Error log

C:\FABPRJST\helloWorld>jovo 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

Your Environment

Jovo Framework version used: 1.x.x Operating System: Windows 10 or Linux Centos 7 Node: v8.11.2 npm: v5.6.0

boaretti commented 5 years ago

Please, I tried the simple helloWorld, but WITHOUT any changes it fails and doesn't deploy at all.

Thank You [ [] ]

jankoenig commented 5 years ago

What language are you developing for? Some languages like fr-FR have problems with the AMAZON.US_FIRST_NAME Slot type. I recommend to change it to AMAZON.FirstName if you're not developing for en-US

boaretti commented 5 years ago

Hi, Thank you so much for your fast response, I` using the default en_US. It is a straightforward attempt to deploy without changes. checked all the JSON and they are valid.

Thanks

jankoenig commented 5 years ago

Did you use jovo init alexaSkill and jovo build before the deploy command? By reading through the log, it seems like the skill.json file is incorrect. If you go to the Alexa Developer Console, is the project created?

jankoenig commented 5 years ago

One more thing that came up in a different thread. Did you set up for ASK profile with ask init?

jankoenig commented 5 years ago

Closing this for now, let us know if you run into additional problems