question

PriyankarK avatar image
PriyankarK asked

ASK CLI hanging while deploying lambda function

I have been trying out the ASK CLI. When I deploy the hello world sample skill, the interaction models etc seem to be deploying. However, when it comes to the lambda function, ASK CLI hangs (takes a really long time and nothing happens). Enclosing screenshot:

alexa skills kitask cli
10 |5000

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

Tsuneki@Amazon avatar image
Tsuneki@Amazon answered

Hi there,

Thanks for posting.

Could you tell me which ASK CLI version do you use?

10 |5000

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

PiR avatar image
PiR answered

Hello,
I have the same issue.

$ask --version
1.4.0
$npm --version
6.1.0
$node --version
v10.4.1
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.

Tsuneki@Amazon avatar image Tsuneki@Amazon commented ·

Hi there, could you update ask cli to new version and try again?

0 Likes 0 ·
Robert G Schaffrath avatar image
Robert G Schaffrath answered

I've seen this myself and it usually happened because I previously aborted a Lambda upload. The problem for me was there being a leftover deployment .zip file in the lambda\custom directory. After aborting the apparent hung deployment, I would find a second .zip file that was huge depending upon how long I waited until I aborted the upload (one was 2GB in size!). Once I deleted all the .zip files, deployment had no issues.

10 |5000

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