-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Description
I've cloned this repo and followed exactly those steps listed here: https://github.com/firebase/quickstart-js/blob/master/database/README.md#getting-started
Unfortunately, after opening localhost:5000 and logging in using exsiting Google account, I firstly get a warning:
@firebase/database: FIREBASE WARNING: set at /users/[some_long_key] failed: permission_denied
Then error:
Uncaught (in promise) Error: PERMISSION_DENIED: Permission denied
at index.esm.js:13070
at yt (index.esm.js:684)
at t.callOnCompleteCallback (index.esm.js:13061)
at index.esm.js:12838
at index.esm.js:12013
at n.onDataMessage_ (index.esm.js:12046)
at t.onDataMessage_ (index.esm.js:11331)
at t.onPrimaryMessageReceived_ (index.esm.js:11325)
at t.onMessage (index.esm.js:11226)
at t.appendFrame_ (index.esm.js:10831)
Which points me to some file (index.esm.js
) which doesn't really helps with figuring out what could be wrong.
How can I debug why Firebase returned PERMISSION_DENIED error? What could go wrong?