firebase / firebase/quickstart-testing

Shell Cloud for testing Firebase Security Rules Instructions lead to: Error: Cannot find module 'firebase/compat/database'

Offen
#227 8 Kommentare 3 Reaktionen 1 zugewiesene Person Beansprucht von @jhuleatt Auf GitHub ansehen
bug
Vorherrschende Sprache
JavaScript
Sterne
368
Forks
125
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I started by having problems with my firebase security rules, I tested them in the security rules playground, but since my rules depend on the resource.data.userId, they failed with a null when I tried to test the update instruction. I couldn't find any way to set a resource baseline in the playground. So I decided to give a try a second time to the: https://ssh.cloud.google.com/cloudshell/editor?environment_deployment=firebase&walkthrough_id=firebase_emulator_rules_quickstart
I followed the instructions to the detail, three times, first a few months ago and gave up due to the time is was taking to try to figure this out. Today, I tried again two times, the last time after rebaselining my ssh.cloud.google shell.
It starts with some warnings about requiring node 10 but loading node 12. I am not choosing node version but executing their scripts on the instructions.
The details of what it is showing me is in the attached log files.

Please help!

[firebase-debug.log](https://github.com/firebase/firebase-tools/files/7936802/firebase-debug.log)
[firestore-debug.log](https://github.com/firebase/firebase-tools/files/7936804/firestore-debug.log)
[ui-debug.log](https://github.com/firebase/firebase-tools/files/7936805/ui-debug.log)

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.