-
Notifications
You must be signed in to change notification settings - Fork 585
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
ReferenceError: createSession is not defined #3085
Comments
Actually, I have the same problem with Android. When launching the debug mode, the createSession error appears in chrome With the following error in node console
This error seems to occur after the installation of realm Version of Realm and Tooling
|
@xlucxs this warning not related for reference error. You can check this out: https://stackoverflow.com/questions/59658998/expo-unable-to-resolve-module-debugger/60755519 @wgarrido this error (reference error), its not your error. You check your starting js server command line. this is the error that your concern |
I also have the same problem, this problem only appear when I import Realm from "realm"; |
Unfortunately Expo doesn't really support Realm: https://forums.expo.io/t/is-realm-support-for-expo-coming/31 |
what is the status of this issue? Debugger in vscode also reporting this
|
I found a way to solve this:
in
create new file
in add this import
then remove declaration of variable in
At line 64, change
into
And finally in
Also the debugger may also require your PC and Phone to be connected in same WIFI |
With the investigation by @deckyfx I reopen the issue. It is clearly an oversight on our side, and we will provide a fix. |
In short, |
PR: #3135 |
I still get the same error with |
Goals
Work with Debugger on React native 0.63
Expected Results
Application could be launch and start.
Actual Results
ReferenceError: createSession is not defined
Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication)
Steps to Reproduce
1 - Follow the tutorial here : https://docs.mongodb.com/realm/tutorial/react-native/
2 - Start the app and active Debug function
Version of Realm and Tooling
The text was updated successfully, but these errors were encountered: