Skip to content

Firebase functions:shell is ignoring emulator and using production instead #5225

@risalfajar

Description

@risalfajar

[REQUIRED] Environment info

firebase-tools: 11.15.0

Platform: Pop OS (Ubuntu)

[REQUIRED] Test case

The problem is not project-related.

[REQUIRED] Steps to reproduce

  1. Create a Firebase project
  2. Init a Firebase emulator (at least have Firestore and Functions)
  3. Create a callable function that access Firestore to be tested
  4. Start Firestore emulator
  5. Start Functions shell
  6. Call the function in point 3

[REQUIRED] Expected behavior

The function will affect Firestore in emulator

[REQUIRED] Actual behavior

The function affects Firestore in production
image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions