Build_remote.go:332: error response: 400: max size 5242880 exceeded (upload size is 29534189)

#1

Good afternoon,

I’m trying to generate my app on Ubuntu laptop.
but at the time of building my app, I got the following error:

error response: build_remote.go:332: max size 5242880 exceeded (upload size is 27557963)

I can not see what the reason for this error is

thank you very much

I am looking forward to your response.

#2

Try mos build --clean.

#3

Your suggestion didn’t work but I found the cause of problem. When I did “mos build”, it was also uploading deps folder with fs and src folder to cloud so uploaded size to cloud was great big. I solved it right after I removed the folder “deps”.

Thanks.