Menu
  • HOME
  • TAGS

How to fix “`The --custom_entrypoint flag must be set for custom runtimes`”?

google-app-engine,gcloud,gcloud-node,managed-vm

There appears to be a bug or setup issue with Google Cloud SDK version 0.9.67 causing this error. As a temporary workaround, you can revert to previous SDK version, which is working, with the following commands: gcloud config set component_manager/fixed_sdk_version 0.9.66 gcloud components update To return to the current version...

NodeJS gcloud - Upload to google storage with public-read property/custom cache-expire

node.js,google-cloud-storage,gcloud,gcloud-node

You can set the predefined ACL following the instructions here: yourBucket.acl.default.add({ scope: "allUsers", role: gcloud.storage.acl.READER_ROLE }, function (err) {}) Regarding cache control, I don't believe you can set this as a default, but you can set this at the time of uploading your file: var opts = { metadata: {...

Same Google Cloud Storage upload script works from one PC, but not the other, Why?

node.js,google-cloud-storage,google-authentication,gcloud-node

Some ideas: Is the keyfile.json corresponding to a service account on your project? Are you using the correct project id? Is your system clock well-calibrated? Good luck!...