amazon-archives / awsmobile-cli

CLI experience for Frontend developers in the JavaScript ecosystem.
Apache License 2.0
142 stars 35 forks source link

downloading cloud-api lambda function codebases takes a long time #122

Open stevemao opened 6 years ago

stevemao commented 6 years ago

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 commented 6 years ago

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

UnleashedMind commented 6 years ago

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.

stevemao commented 6 years ago

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.

LeeCheetham commented 6 years ago

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