【发布时间】:2022-11-11 10:26:30
【问题描述】:
标签: javascript reactjs error-handling
标签: javascript reactjs error-handling
我收到了这个错误
Uncaught TypeError: Cannot read properties of undefined (reading 'path')
at _getChild$1 (reference.ts:504:1)
at refFromPath (service.ts:77:1)
at ref$1 (service.ts:116:1)
at ref (api.ts:304:1)
at getUserDetails (Home.js:29:1)
at Home.js:52:1
and i am pretty sure that this is coming from onValue
but the thing here is that getUserDetails also runs without actually running it so what is it
【讨论】: