awsmobile-cli icon indicating copy to clipboard operation
awsmobile-cli copied to clipboard

downloading cloud-api lambda function codebases takes a long time

Open stevemao opened this issue 6 years ago • 4 comments

I have 5 cloud apis and the size of them are pretty much the same as the boilerplate generated by awsmobile. but downloading cloud-api lambda function codebases takes a really long time sometimes it just hangs and I don't know if it's still downloading. Is it normal? Do you need more details from me?

stevemao avatar May 04 '18 06:05 stevemao

Also would be great if the tool displays how big the files are and much has been downloaded. My download speed is 300mb/s and the files size is around 500mb. It takes way less time for me to upload the files.

So some times I just cancel this step when I do awsmobile push

stevemao avatar May 04 '18 07:05 stevemao

lambda function download does take a little while. I will mark this as a feature request, we will keep working on enhancing the cli user experiences.

UnleashedMind avatar May 04 '18 17:05 UnleashedMind

Thanks. We use git to manage our source so when we push, we make sure it's the latest code. We probably don't need to get the latest code again.

stevemao avatar May 04 '18 22:05 stevemao

Hi All,

I am also experiencing the same issue with the "awsmobile push" command, and with only a sample lambda function. The command nevers seems to complete downloading.....

Stuck here:

retrieving the latest backend awsmobile project information awsmobile project's details logged at: awsmobilejs/#current-backend-info/backend-details.json awsmobile project's specifications logged at: awsmobilejs/#current-backend-info/mobile-hub-project.yml

LeeCheetham avatar Jun 19 '18 16:06 LeeCheetham