Error log ./node_modules/@realm/react/dist/useObject.js 34:65 Module parse failed: Unexpected token (34:65) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| // When this is implemented, remove ?? null
| () => createCachedObject({ > object: realm.objectForPrimaryKey(type, primaryKey) ?? null,
| updateCallback: forceRerender,
| }), [type, realm, primaryKey]);
package.json dependencies
"dependencies": {
"@react-navigation/native": "^6.0.8",
"@react-navigation/native-stack": "^6.5.2",
"@realm/react": "^0.2.1",
"expo": "~44.0.0",
"expo-status-bar": "~1.2.0",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-native": "0.64.3",
"react-native-safe-area-context": "3.3.2",
"react-native-screens": "~3.10.1",
"react-native-web": "0.17.1",
"realm": "^10.14.0",
"expo-dev-client": "~0.8.4"
},
"devDependencies": {
"@babel/core": "^7.12.9"
},
expo web and expo android Please note I already created the UI and I don't want to clone the template but copy the required files and install dependencies. I will appreciate your assistance