-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shell Cloud for testing Firebase Security Rules Instructions lead to: Error: Cannot find module 'firebase/compat/database' #227
Comments
Would you mind describing the steps you took before you see the |
I've faced the same issue; when I've tried Cloud Shell on step 4.5 and tried to execute the command:
then I've got the error is:
|
I have this issue too when I run |
I randomly reverted to to commit |
This solved it for me, thanks. |
Thanks for your answer ! How do you do that ? Thanks |
Reverting to @Ockham-Byron, if you've followed all steps of the tutorial, you'd need to run these commands:
Afterwards the If you later want to undo it, you'd need to run those steps again but with |
Hi all, I've made a |
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
firestore-debug.log
ui-debug.log
The text was updated successfully, but these errors were encountered: