Skip to content

Firebase Emulator initialization URL given for module grouped firebase functions hangs and requires modification to work. #2966

Description

@letsgamedotdev

[REQUIRED] Environment info

firebase-tools: Firebase 9.1.0

Platform: Windows

[REQUIRED] Test case

// ... from index.ts
exports.auth = require("./authFunctions");
// ... from authFunctons.ts
exports.isAdmin = functions.https.onCall((_, context) => {...}

In firebase CLI

+  functions[auth-isAdmin]: http function initialized (http://localhost:5001/letsplaydotdev/us-central1/auth.isAdmin). 

Going to http://localhost:5001/letsplaydotdev/us-central1/auth.isAdmin hangs and never responds. Going to http://localhost:5001/letsplaydotdev/us-central1/auth-isAdmin does establish connection.

[REQUIRED] Steps to reproduce

Create function group and export it in index.ts. Start up emulator using firebase emulators:start. The initialized URL outputted hangs.

[REQUIRED] Expected behavior

The firebase function's outputted URL does not hang.

[REQUIRED] Actual behavior

The firebase function's outputted URL does hang.

Activity

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