title: React native realm installation error:Module parse failed: Unexpected token (34:65) You may need an appropriate loader to handle this file
body: <p><strong>Error log</strong>
  ./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 <a href="https://webpack.js.org/concepts#loaders" rel="nofollow noreferrer">https://webpack.js.org/concepts#loaders</a></p>
  <p>|         // When this is implemented, remove <code>?? null</code>
  |         () =&gt; createCachedObject({ &gt;        object: realm.objectForPrimaryKey(type, primaryKey) ?? null,
  |             updateCallback: forceRerender,</p>
  <p>|     }), [type, realm, primaryKey]);</p>
  <p><strong>package.json  dependencies</strong></p>
  <pre><code>&quot;dependencies&quot;: { 
      &quot;@react-navigation/native&quot;: &quot;^6.0.8&quot;,
      &quot;@react-navigation/native-stack&quot;: &quot;^6.5.2&quot;,
      &quot;@realm/react&quot;: &quot;^0.2.1&quot;, 
      &quot;expo&quot;: &quot;~44.0.0&quot;, 
      &quot;expo-status-bar&quot;: &quot;~1.2.0&quot;, 
      &quot;react&quot;: &quot;17.0.1&quot;,
      &quot;react-dom&quot;: &quot;17.0.1&quot;, 
      &quot;react-native&quot;: &quot;0.64.3&quot;,    
      &quot;react-native-safe-area-context&quot;: &quot;3.3.2&quot;,
      &quot;react-native-screens&quot;: &quot;~3.10.1&quot;, 
      &quot;react-native-web&quot;: &quot;0.17.1&quot;,
      &quot;realm&quot;: &quot;^10.14.0&quot;, 
      &quot;expo-dev-client&quot;: &quot;~0.8.4&quot;
    },
    &quot;devDependencies&quot;: {
      &quot;@babel/core&quot;: &quot;^7.12.9&quot;
    },
  </code></pre>
  <p><strong>expo web  and
  expo android</strong>
  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</p>