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
TypeError: Cannot read property 'size' of undefined #6626
Comments
➤ PM Bot commented: Jira ticket: RJS-2805 |
@ronkorland Please provide a reproduction case or at least a stack trace. |
@kneth the following stack trace is not enough?
|
I have the same issue. Seems to have happened after upgrading to react-native 0.74. |
I'm using |
do you have this I fixed it by removing it and adding this to my config instead: overrides: [
{
exclude: /node_modules\/realm\//,
plugins: [['@babel/plugin-transform-private-methods', { loose: true }]],
},
], |
Thanks for reply, me babel config looks like this:
|
did you reset the cache after editing the config file?
|
@Mitch528 I try now with the reset cache but I still have the same error |
How frequently does the bug occur?
Always
Description
realm: 12.6.2
@realm/react: 0.6.2
I created one react-native page inside react-router; the page uses the
useQuery
hook to query my model.When I open the page, I always get the following error:
TypeError: Cannot read property 'size' of undefined
Stacktrace & log output
Can you reproduce the bug?
Always
Reproduction Steps
No response
Version
12.6.2
What services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
Android 13
Build environment
Which debugger for React Native: Flipper
Cocoapods version
No response
The text was updated successfully, but these errors were encountered: