Updated existing React Native app from [email protected] to [email protected] and now the app throws a TypeError on launch.
TypeError should not be thrown and Realm should function normally in a React Native app.
TypeError: process.versions is not an Object. (evaluating '"node" in process.versions')
Appears to be caused by the following code from realm-network-transport:
const isNodeProcess = typeof process === "object" && "node" in process.versions;
same here, app dont launch
Tested on Android only
Realm JS SDK Version: 10.0.0-beta.8
Node or React Native: React Native 0.62.2 and 0.63 running on Node 10.21.0
Thanks for reporting this.
A fix for this is contained in https://github.com/realm/realm-js/pull/3001.
Most helpful comment
Thanks for reporting this.
A fix for this is contained in https://github.com/realm/realm-js/pull/3001.