Score:0

App deploy fails on GCP App Engine flexible (GAE flex) when specifying engines.node version: [Errno 11] write could not complete without blocking

cn flag
gcloud --project my-project-id app deploy app.yaml

fails on GAE Flex when I specify a engines.node version in package.json but succeeds when I remove it from the package.json.

I have specified

"engines": {
    "node": "16.x"
  }

in my package.json

The error I ultimately get is:

ERROR: gcloud crashed (IOError): [Errno 11] write could not complete without blocking

This occurs in the middle of the build Step 1 and according to this article it might be related to the python libs the SDK uses to write logs to the console. And interestingly the error does not occur when I add a --no-user-output-enabled flag to the gcloud app deploy command. But this is a temp workaround and I hope the GCP team will fix the issue in the CLI library.

I have checked the Google Build logs and there is no error there, but Step 2 (the actual deploy) never runs.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.