How to solve this error 'Cannot read property 'slice' of undefined, js engine: hermes'

Getting error ‘Cannot read property ‘slice’ of undefined, js engine: hermes’ at node_module/browserify-sign/node_module/readable-stream/readable-browser.js

error occur when I use ‘new Web3Auth’

import Web3Auth, {
  LOGIN_PROVIDER,
  OPENLOGIN_NETWORK,
} from "@web3auth/react-native-sdk";

import * as SecureStore from "expo-secure-store";
import * as WebBrowser from "expo-web-browser";
const web3auth = new Web3Auth(WebBrowser, SecureStore, {
  clientId,
  network: OPENLOGIN_NETWORK.SAPPHIRE_MAINNET, // or other networks
  useCoreKitKey: false,
});


This is sample code

Hey @koya.ren.701,

Thanks for letting me review your repo. It appears that some of the recommended configurations for integrating Web3Auth with an Expo React Native app might be missing. To address any potential issues, please refer to our troubleshooting guide, which you can find here: Troubleshooting Metro Issues.

This guide should help you set up everything correctly.

HI.

I implemented the same as the troubleshooting guide but could not solve the same problem. I have committed the repo, could you please check?

Hi @maharshi.
Can you solve this problem?