Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant