gcloud crash while deploy app

449 views
Skip to first unread message

Amit Shakya

unread,
Jul 20, 2018, 1:44:32 PM7/20/18
to Google App Engine
I  have Nodejs app running on GCP I made few changes and update pull git branch code, It is running fine on port 8080 on gcp,  but after doing gcloud app deploy it throws me an error,
ERROR: gcloud crashed (TypeError): expected string or buffer , and there I found package-lock.json file, I read on docs it may be an issue, it can cause gcloud development failed, so that I delete package-lock.json but still not working

here my app.yaml
runtime:nodejs
env:flex

gcloudissue.png

Amit Shakya

unread,
Jul 23, 2018, 9:00:31 AM7/23/18
to Google App Engine
I found one silly issue in app.yaml
this was my app.yaml file before which is crashing gcloud
runtime:nodejs
env:flex

This is correction I did which fix the issue
runtime: nodejs
env: flex

just add little space.
Reply all
Reply to author
Forward
0 new messages