Missing Realm constructor
See original GitHub issueGoals
I’m trying to include realm into my existing react-native app
Expected Results
Run my project in iOS via Expo app, as before realm installation
Actual Results
I have Missing Realm constructor error.
I’ve tried to run ⇒ react-native link realm
output is Scanning 794 folders for symlinks in pathToProject/node_modules (8ms)
After this step problem is still here
Steps to Reproduce
- Add realm to project
- npm start
Code Sample
Problem reproduces for me if I have import of realm in my code
import Realm from 'realm'
Version of Realm and Tooling
- Realm JS SDK Version: ^1.12.0, react-native-cli: 2.0.1, react-native: 0.47.2
- Node or React Native: React Native
- Client OS & Version: macOS Sierra 10.12.6
- Which debugger for React Native: None
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
React Native SDK with Expo - "Missing Realm constructor" error
According to the latest documentation for MongoDB Realm React Native, it states that their SDK is compatible with Expo…
Read more >Missing Realm constructor. Did you run "react-native link ...
This is likely happening when upgrading React Native from below 0.60 to 0.60 or above. Going forward, you can unlink this dependency via...
Read more >Missing Realm constructor. Did you run "pod install"? (I'm ...
I want to use Realm (mongodb). So after running: npm install realm. realm was correctly added in the "node_modules" and I tried to...
Read more >Someone else have tried to implement Realm in an Expo ...
I just add the import in my android project and have this issue. Error: Missing Realm constructor. Did you run "pod install"? Please ......
Read more >MongoDB Realm React Native SDK with Expo - Stack Overflow
MongoDB Realm React Native SDK with Expo - Missing Realm Constructor error · Did you look at the Getting Started Template and follow...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

You made it clear now, thank you! 🙂
@kneth, unfortunately we still getting the same error. steps to reproduce are really straightforward:
can you reproduce this issue? ver in package.json: “realm”: “^1.13.0”,