我正在开发一个使用react,redux和firebase的单页面应用程序。当用户登录时,他会收到一个错误。
PERMISSION_DENIED: Permission denied
▼ 5 stack frames were expanded.
(anonymous function)
E:/React/React Projects-2/src/core/Repo.ts:632
exceptionGuard
E:/React/React Projects-2/src/core/util/util.ts:585
Repo.callOnCompleteCallback
E:/React/React Projects-2/src/core/Repo.ts:624
(anonymous function)
E:/React/React Projects-2/src/core/Repo.ts:476
(anonymous function)
E:/React/React Projects-2/src/core/PersistentConnection.ts:444
▲ 5 stack frames were expanded.
This screen is visible only in development. It will not appear if the app crashes in production.
Open your browser’s developer console to further inspect this error. Click the 'X' or hit ESC to dismiss this message.发布于 2021-10-05 08:19:48
此错误是由firebase实时数据库规则引起的。你可以通过改变规则来摆脱这个问题。
https://stackoverflow.com/questions/62919544
复制相似问题