firebase / firebase/firebase-tools

Not able to connect to the rtdb emulator from admin-sdk.

Open
#5,416 1 comment 0 reactions 1 assignee Assigned to @lahirumaramba View on GitHub
emulators: database type: bug
Dominant language
TypeScript
Stars
4.5k
Forks
1.3k
Avg merge
1d 12h
Merged PRs (30d)
84

Description

### [REQUIRED] Environment info

**firebase-tools:** 11.20.0

**Platform:** macOS

### [REQUIRED] Test case

https://github.com/CuriosBasant/rtdb-admin-emulator-issue

### [REQUIRED] Steps to reproduce

Clone the above provided repo
- npm i
- npm run emulators _(in first terminal)_
- node . _(in second terminal)_

### [REQUIRED] Expected behavior

I should be able to write data to rtdb emulator from my admin sdk code.

### [REQUIRED] Actual behavior

Right now it doesn't do anything, the promise never fulfills.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.