realm / realm-js

Realm is a mobile database: an alternative to SQLite & key-value stores
https://realm.io
Apache License 2.0
5.62k stars 558 forks source link

Could not find the Realm binary #6255

Closed suntan-superman closed 1 month ago

suntan-superman commented 6 months ago

I am trying to test Realm with React Native (JavaScript) on a Windows machine and keep getting the message "Could not find the Realm binary". I have tried all of the suggested solutions to no avail.

kneth commented 6 months ago

@suntan-superman Can you give more details about your set up?

suntan-superman commented 5 months ago

Setup: Windows 10 Pro machine Android Studio emulator Package.json: { "name": "realmtailwindcssapp", "version": "1.0.0", "main": "node_modules/expo/AppEntry.js", "scripts": { "start": "expo start", "android": "expo run:android", "ios": "expo run:ios", "web": "expo start --web" }, "dependencies": { @./webpack-config": "^0.12.52", @./react": "^0.6.2", "expo": "^44.0.6", "expo-dev-client": "^2.4.12", "expo-splash-screen": "^0.10.3", "expo-status-bar": "^1.7.1", "nativewind": "^2.0.11", "react": "18.2.0", "react-dom": "18.2.0", "react-native": "^0.72.7", "react-native-get-random-values": "^1.9.0", "react-native-web": "~0.19.6", "realm": "^12.3.0", "twrnc": "^3.6.4" }, "devDependencies": { @.***/core": "^7.20.0", "sharp-cli": "^4.1.1", "tailwindcss": "^3.3.2" }, "private": true }

Would love to test on iPhone but it seems that is not possible at this time.


From: Kenneth Geisshirt @.> Sent: Friday, November 17, 2023 7:28 AM To: realm/realm-js @.> Cc: suntan-superman @.>; Mention @.> Subject: Re: [realm/realm-js] Could not find the Realm binary (Issue #6255)

@suntan-supermanhttps://github.com/suntan-superman Can you give more details about your set up?

— Reply to this email directly, view it on GitHubhttps://github.com/realm/realm-js/issues/6255#issuecomment-1816633102, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BAQP2RPVBD7YBUYV6CHIHGLYE57ADAVCNFSM6AAAAAA7N5M65WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJWGYZTGMJQGI. You are receiving this because you were mentioned.Message ID: @.***>

takameyer commented 5 months ago

@suntan-superman Are you activating the dev-client when starting the bundler?

expo start --dev-client

If that doesn't help, can you try running our expo template on your machine? That will help verify if the issue is your project or the environment it's running in.

suntan-superman commented 5 months ago

Yes I am.


From: Andrew Meyer @.> Sent: Sunday, November 19, 2023 11:42 PM To: realm/realm-js @.> Cc: suntan-superman @.>; Mention @.> Subject: Re: [realm/realm-js] Could not find the Realm binary (Issue #6255)

@suntan-supermanhttps://github.com/suntan-superman Are you activating the dev-client when starting the bundler?

expo start --dev-client

— Reply to this email directly, view it on GitHubhttps://github.com/realm/realm-js/issues/6255#issuecomment-1818388134, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BAQP2RPPF2NCNWQHBEKGWY3YFMCUXAVCNFSM6AAAAAA7N5M65WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJYGM4DQMJTGQ. You are receiving this because you were mentioned.Message ID: @.***>

ahmad1508 commented 5 months ago

Hey did you find a solution for this problem ? i have the same problem using the following command to create my app npx create-expo-app@latest MyRealmApp --template @realm/expo-template and without adding any code i get this error when i start the server

kneth commented 4 months ago

@ahmad1508 @suntan-superman It is unclear if you are using Expo Go or not. But Expo Go doesn't support Realm - see https://github.com/realm/realm-js/issues/6193#issuecomment-1757270090