这是indexloc提供的服务,不要输入任何密码
Skip to content

firebase deploy --only functions:oneFunction fails but function is deployed successfully #3147

@ljle

Description

@ljle

[REQUIRED] Environment info

firebase-tools: 9.4.0

Platform: Arch Linux on WSL2 with Node 12.20.1

[REQUIRED] Test case

I don't have a minimal test case for this.

[REQUIRED] Steps to reproduce

  • Run firebase deploy --only functions:oneFunction

[REQUIRED] Expected behavior

  • Output in the console that the function was successfully deployed.

[REQUIRED] Actual behavior

  • Output says there were errors deploying the function:
    image

  • If I run the command with the --debug flag, the last lines of the logs say this:
    image

  • But in the Google Cloud Console for Cloud Functions dashboard, in the "last deployed" column it displays the time as if it was correctly deployed, I had to manually test my app and the change was deployed correctly.
    image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions