Skip to content
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

Cannot read property 'Upload' of undefined #5687

Closed
devsales opened this issue Apr 3, 2023 · 1 comment
Closed

Cannot read property 'Upload' of undefined #5687

devsales opened this issue Apr 3, 2023 · 1 comment

Comments

@devsales
Copy link

devsales commented Apr 3, 2023

How frequently does the bug occur?

Always

Description

For some reason I cannot use the enums Realm.ProgressDirection.Upload and Realm.ProgressMode.ReportIndefinitely with TypeScript. I get the error as shown on the screenshot below. The same goes for OpenRealmBehaviorType.DownloadBeforeOpen and OpenRealmTimeOutBehavior.OpenLocalRealm.

Do I need to install some @type NPM dependency?

Stacktrace & log output

No response

Can you reproduce the bug?

Always

Reproduction Steps

No response

Version

"realm": "^11.3.1", "@realm/react": "^0.4.1"

What services are you using?

Atlas Device Sync

Are you using encryption?

No

Platform OS and version(s)

iOS 16

Build environment

Which debugger for React Native: ..

Cocoapods version

No response

@takameyer
Copy link
Contributor

takameyer commented Apr 4, 2023

@devsales Thanks for reporting. We already have a fix for this released in version 11.5.2 by this PR. Please upgrade to the latest version of realm to fix the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants