Hi,

well, that doesn't sound like 10,000+ files. If it's a bug you could file a 
report in the Public Issue Tracker <https://issuetracker.google.com/>. Is 
there a particular reason that you use gcloud *beta* app deploy instead of 
gcloud 
app deploy? The first one gives you the commands that are still in beta, 
the latter one the commands that are GA. And my last question: Do you have 
used gcloud beta app deploy with nothing else? I believe that if you don't 
specify the location, e.g. gcloud app deploy src/app.yaml, the command will 
try to automatically detect where the app is, and maybe it gets confused 
and tries to upload some other path with 10,000+ files.

Good luck,
Ani

On Wednesday, May 16, 2018 at 9:11:36 PM UTC+2, Lourdu rajan wrote:
>
> Hi Ani Hatzis,
>
> Thanks for your reply.
>
> I don't have any process like file storage or file processing. Just trying 
> to deploy my code into the Google app engine flexible environment, which 
> has basic functionality and it's reference. Like, app.yaml, openapi.yaml, 
> app.js, db.js, package.json and node modules (reference). I checked the 
> file size of each files, its all just below 250 kB.
>
> Any other solutions/suggestions please.
>
> Regards,
> Lourdu Rajan G
>
> On Wed 16 May, 2018, 12:02 AM Ani Hatzis, <[email protected] <javascript:>> 
> wrote:
>
>> Does your app deployment indeed include more than 10,000 files? You 
>> cannot deploy an app with more than 10,000 files. The deployment is 
>> supposed to contain mainly code and configuration files. You probably want 
>> to also host a bunch of other files (images, PDFs etc.) and have added them 
>> to the deployment, I guess. You would not include them in the deployment. 
>> Instead you can host these files in Cloud Storage 
>> <https://cloud.google.com/storage/docs/> or Firebase Hosting 
>> <https://firebase.google.com/products/hosting/>.
>>
>> On Tue, May 15, 2018 at 7:01 PM Lourdu rajan <[email protected] 
>> <javascript:>> wrote:
>>
>>> I got the below error, when I tried to deploy my Google Cloud Flex 
>>> Environment Endpoint project (NodeJs) through gcloud command (gcloud beta 
>>> app deploy).
>>>
>>> ERROR: (gcloud.beta.app.deploy) INVALID_ARGUMENT: This deployment has 
>>> too many files. New versions are limited to 10000 files for this app.- 
>>> '@type': type.googleapis.com/google.rpc.BadRequest fieldViolations:  - 
>>> description: This deployment has too many files. 
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Google App Engine" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected] <javascript:>.
>>> To post to this group, send email to [email protected] 
>>> <javascript:>.
>>> Visit this group at https://groups.google.com/group/google-appengine.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/google-appengine/83d04d8f-8642-4f28-a55d-4c5ae89b1f08%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/google-appengine/83d04d8f-8642-4f28-a55d-4c5ae89b1f08%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/google-appengine.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/CALdDuQ5KaTRA7f8RS%3D5yo%3DekvqgtZ9dSSrA9rSsKCSpisHZ6CA%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/google-appengine/CALdDuQ5KaTRA7f8RS%3D5yo%3DekvqgtZ9dSSrA9rSsKCSpisHZ6CA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/add00054-e4c6-47fc-a7e7-129d78323192%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to