Getting error ‘Cannot read property ‘slice’ of undefined, js engine: hermes’ at node_module/browserify-sign/node_module/readable-stream/readable-browser.js
- SDK Version: ^5.1.0
- Expo Version :^50.0.17
- Firebase : ^10.11.1
- Typescript
- Browser Console Screenshots:
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,
});