firebase / firebase/quickstart-testing

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

Open
#227 8 comments 3 reactions 1 assignee Claimed by @jhuleatt View on GitHub
bug
Dominant language
JavaScript
Stars
368
Forks
125
PR merge metrics
No merged PRs in 30d

Description

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)

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.