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-west2STORAGE_PATHS={DEFAULT}/test/{UID}-test.pngSELECTED_DATABASE_INSTANCE=[INSERT YOUR OWN PROJECT ID]FIRESTORE_DELETE_MODE=shallow
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
The auth emulator and the cloud function emulator running.
[REQUIRED] Actual behavior
The emulator command is erroring because the ${DATABASE_INSTANCE}' param which is auto populated in the extensions.yaml during build time, is not being recognised by the emulator.
Error: The extension.yaml has the following errors:
- Param SELECTED_DATABASE_INSTANCE has default value '${DATABASE_INSTANCE}', which does not pass the validationRegex ^([0-9a-z_.-]*)$
I did also try ${param:DATABASE_INSTANCE} in the extension.yaml but I got the same error:
Error: The extension.yaml has the following errors:
- Param SELECTED_DATABASE_INSTANCE has default value '${param:DATABASE_INSTANCE}', which does not pass the validationRegex ^([0-9a-z_.-]*)$
The text was updated successfully, but these errors were encountered:
[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.delete-user-data
directorytest-params.env
file. Add environment variables & insert project id as appropriate:firebase ext:dev:emulators:start --test-params=test-params.env --project=[INSERT YOUR OWN PROJECT ID]
[REQUIRED] Expected behavior
The auth emulator and the cloud function emulator running.
[REQUIRED] Actual behavior
The emulator command is erroring because the
${DATABASE_INSTANCE}'
param which is auto populated in theextensions.yaml
during build time, is not being recognised by the emulator.I did also try
${param:DATABASE_INSTANCE}
in theextension.yaml
but I got the same error:The text was updated successfully, but these errors were encountered: