You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create test-params.env file. Add environment variables & insert project id as appropriate:
LOCATION=europe-west2MAX_COUNT=2NODE_PATH=testSELECTED_DATABASE_INSTANCE=[INSERT YOUR OWN PROJECT ID]
delete line 129: default: ${DATABASE_INSTANCE} & line 131:validationRegex: ^([0-9a-z_.-]*)$ from the extension.yaml file otherwise you will encounter the issue I raised here.
run CLI command with your project id : firebase ext:dev:emulators:start --test-params=test-params.env --project=[INSERT YOUR OWN PROJECT ID]
[REQUIRED] Expected behavior
I expect the Cloud Function emulator to run when I add data to the RTDB emulator.
The text was updated successfully, but these errors were encountered:
russellwheatley
changed the title
realtime database extension emulator throws error when adding data
cloud function extension emulator throws error when adding data
Dec 14, 2020
[REQUIRED] Environment info
firebase-tools:
8.17.0
Platform:
macOS Catalina 10.15.4
[REQUIRED] Test case
See steps to reproduce.
[REQUIRED] Steps to reproduce
git@github.com:firebase/extensions.git
npm i
from root of extension's directory.rtdb-limit-child-nodes
directorytest-params.env
file. Add environment variables & insert project id as appropriate:default: ${DATABASE_INSTANCE}
& line 131:validationRegex: ^([0-9a-z_.-]*)$
from theextension.yaml
file otherwise you will encounter the issue I raised here.firebase ext:dev:emulators:start --test-params=test-params.env --project=[INSERT YOUR OWN PROJECT ID]
[REQUIRED] Expected behavior
I expect the Cloud Function emulator to run when I add data to the RTDB emulator.
[REQUIRED] Actual behavior
Error is thrown:
The text was updated successfully, but these errors were encountered: