Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

ERROR: (gcloud.beta.functions.deploy) argument --entry-point #1

Open
mrdulin opened this issue Oct 10, 2018 · 0 comments
Open

ERROR: (gcloud.beta.functions.deploy) argument --entry-point #1

mrdulin opened this issue Oct 10, 2018 · 0 comments

Comments

@mrdulin
Copy link
Owner

mrdulin commented Oct 10, 2018

执行:

gcloud beta functions deploy --entry-point=./index.js --trigger-resource ${TOPIC} --trigger-event google.pubsub.topic.publish

报错:

ERROR: (gcloud.beta.functions.deploy) argument --entry-point: Invalid value './index.js': Entry point name must contain only Latin letters (lower- or upper-case), digits, dot (.) and underscore (_), and must be at most 128 characters long. It can neither begin nor end with a dot (.), nor contain two consecutive dots (..).
Usage: gcloud beta functions deploy NAME [optional flags]
  optional flags may be  --clear-labels | --entry-point | --help | --memory |
                         --region | --remove-labels | --retry | --source |
                         --stage-bucket | --timeout | --trigger-bucket |
                         --trigger-event | --trigger-http | --trigger-resource |
                         --trigger-topic | --update-labels

For detailed information on this command and its flags, run:
  gcloud beta functions deploy --help
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant