0 | I am new to Google App Engine and I am having problem with deploying my application as I am getting the following errors "SEVERE: Invalid character in filename: static/resources/js/morris.js-0.5.1/node_modules/gaze/test/fixtures/Project (LO)/one.js" "com.google.appengine.tools.admin.LocalIOException: Applications are limited to 10000 files, you have 18867. Unable to update app: Applications are limited to 10000 files, you have 18867." The application has only 300 files and I am using eclipse neon. I have uninstalled eclipse and reinstalled it. I have deleted all the node modules in my local disk. I don't know from where the files are getting pulled. When I searched the site one of the suggestions was to remove unwanted plugins. I looked at my Eclipse plugins, there are lots of them. I did not install anything, so I don't have any idea what to remove. How do I fix this so I can update. Thanks, Suba Suresh |
Your issue seems to be related to a known bug from past gcloud versions. You can see some details and workaround here [1], which mentioned, among others:
1.1 - Run “gcloud components update” to make sure your gcloud version is up to date
1.2 - Add the following lines to your “app.yaml” to skip files, and redeploy:
skip_files:
- lib/setuptools/script (dev).tmpl
- ^node_modules/.*$
You may want to review this App Engine doc [2] which describes how to explicitly call out which files should be excluded from a deployment.
The following are sample commands you can try to find files. Alternatively, you can post on StackOverflow for these code-level technical questions.
1.1 “find . -type f | wc -l ” - will find all files in your directory
1.2 “find . -type l | wc -l ” - will find symbolic links in your directory, which “find . -type f | wc -l ” will ignore
[1] https://code.google.com/p/google-cloud-sdk/issues/detail?id=392
[2] https://cloud.google.com/appengine/docs/standard/python/config/appref#skip_files (other languages available)