question

newuser-6bb9ee02-4def-4d9a-9c79-261e5a4f1077 avatar image

Ask - deploy not working after built successfully

I created a new skill on my local machine by cloning it from on of the available git repository

I used the below command

ask new --url https://github.com/alexa/skill-sample-nodejs-salesforce.git

The project folder was created successfully. After this I tried to deploy this skill using ask cli. The below command was used

ask deploy

Got a warning saying 'Changed the property name from 'skillmanifest' to 'Manifest' in ask/config in order to fit the v1 Alexa Skill Management API's accepted format'

The operation was stuck after this. I terminated the operation using ctrl+C and tried again using

ask deploy --debug

Saw below 2 lines of debug logs after which the operation was stuck forever and there was no deployment

######################

###pre-deploy hook######

#######################

Codebase (lambda/Custom) built successfully

###########################

Please need your help

ask cli
1 comment
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

I am facing the same issue. Did you solve problem?

0 Likes 0 ·
Jason@Amazon avatar image
Jason@Amazon answered

If you're using Windows, try using a different version of node such as v8.11 as there seem to be issues when running with newer versions of node.

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

newuser-ece796dc-ad87-4118-8fbc-d96a3d451ae2 avatar image
newuser-ece796dc-ad87-4118-8fbc-d96a3d451ae2 answered

Try ask with version 1.4.9 or lower. It helped me.

npm install -g ask-cli@1.4.9

1 comment
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Thank you! This finally did the trick for me... I've been banging my head against a wall for 2 days. I rolled back Node.js to v8.11 and that didn't help; but then I rolled back ask-cli to 1.4.9 as you suggested here and it is finally working.

0 Likes 0 ·