Skip to content

Cannot read property 'backend' of undefined #3512

Closed

Description

@mrassili

[REQUIRED] Environment info

firebase-tools:
9.13.1

Node:
14.17.0

Platform:
maCOS 11.4

[REQUIRED] Test case

Setup a hosting site and run deploy

[REQUIRED] Steps to reproduce

Run firebase deploy

[REQUIRED] Expected behavior

Successful deployment

[REQUIRED] Actual behavior

Error: An unexpected error has occurred.
with this error: TypeError: Cannot read property 'backend' of undefined

Logs
Screen Shot 2021-06-18 at 6 05 01 PM

Screen Shot 2021-06-18 at 6 01 15 PM

Activity

  1. thibaut-adx commented on Jun 21, 2021

    @thibaut-adx

    Exactly the same error for the same environment!

  2. inlined commented on Jun 21, 2021

    @inlined
    Member

    From a cursory scan of the codebase it looks like this would crash if you don’t actually have any functions exported in your project. Can you confirm that this is the case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions