Hello all,
I am following the react-moralis guide on github and once I wrapped my entire app with the moralis provider I am getting this error on my front end. Here is my code:
import React from ‘react’;
import ReactDOM from ‘react-dom’;
import App from ‘./App’;
import { MoralisProvider } from ‘react-moralis’;
const serverUrl = ‘https://styd6ambdc2h.usemoralis.com:2053/server’;
const appId = ‘1DcehXxpQYgDwaVtkoQTNTGbbxhRpBmVXuS8ctPB’;
ReactDOM.render(
<MoralisProvider
appId='1DcehXxpQYgDwaVtkoQTNTGbbxhRpBmVXuS8ctPB'
serverUrl='https://styd6ambdc2h.usemoralis.com:2053/server'
<App />
,
document.getElementById(‘root’)
);
Here is the error:
Uncaught TypeError: Super expression must either be null or a function
at _inherits (inherits.js:9:11)
at AbstractWeb3Connector.js:84:18
at node_modules/moralis/lib/browser/Web3Connector/AbstractWeb3Connector.js (AbstractWeb3Connector.js:217:10)
at __require2 (chunk-4WNHIZTT.js?v=402dac9b:48:44)
at node_modules/moralis/lib/browser/Web3Connector/WalletConnectWeb3Connector.js (WalletConnectWeb3Connector.js:39:53)
at __require2 (chunk-4WNHIZTT.js?v=402dac9b:48:44)
at node_modules/moralis/lib/browser/MoralisWeb3.js (MoralisWeb3.js:83:58)
at __require2 (chunk-4WNHIZTT.js?v=402dac9b:48:44)
at node_modules/moralis/lib/browser/ParseUser.js (ParseUser.js:51:42)
at __require2 (chunk-4WNHIZTT.js?v=402dac9b:48:44)
Thank you