I am using the following app.yaml. I am trying to deploy my angular app. Tried to use 3 different variants of the sdk but everytime it throws an error. - 218 -201- 215
runtime: custom
env: flex
threadsafe: true
automatic_scaling:
min_num_instances: 1
max_num_instances: 10
cool_down_period_sec: 120 # default value
skip_files:
- ^(.*\/)?.*\.py[co]$
- ^(.*\/)?.*\.py$
- ^(.*\/)?.*/RCS/.*$
- ^.git(.*\/)?
- ^(.*/)?.*\.bak$
- ^(.*)?\/?src[\/]?(?:(.*)?[\/]?)$
- ^[\.]?ssl(.*[\/]?)?$
- ^[\.]?idea(.*[\/]?)?$
- ^[\.]?e2e(.*[\/]?)?$
handlers:
- url: /
static_files: dist/index.html
upload: dist/index.html
application_readable: true
- url: /
static_dir: dist
application_readable: true
- url: /favicon\.ico
static_files: favicon.ico
upload: favicon\.ico
application_readable: true
- url: /(.+\.(gif|png|jpg|js|css|json|woff2|svg|ttf|eot|woff))$
static_files: \1
upload: .+\.(gif|png|jpg|js|css|json|woff2|svg|ttf|eot|woff)$
application_readable: true
But I am always ending up with the error gcloud components update --version 185.0.0 ERROR: gcloud crashed (TypeError): unsupported operand type(s) for +=: 'int' and 'NoneType'
If you would like to report this issue, please run the following
command:
gcloud feedback
To check gcloud for common problems, please run the following
command:
gcloud info --run-diagnostics
Could someone guide me with this? Note: I was able to deploy successfully a couple of days ago with the version - 201.