I'm trying to deploy my Alexa skill using ask-cli. I have added firebase to my lambda function as it requires to my skill.
Now it shows 138.3 MB on disk as the lambda folder size.
When I do ask deploy , I get this and nothing happens (it just hangs there)

I found this discussion and this page that outlines the file sizes for aws lambda, according to that, I think I'm within the size limits.
uncompressed .zip/.jar size is 250MB
is anyone else having this issue ? or know how to fix this ?
I'm using ask cli version 1.2.0
I had this issue 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 8GB in size!). Once I deleted all the .zip files, deployment had no issues. Just delete the .jar/.zip files and try again. Works like a charm!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With