Uncaught (in promise) Error: Cannot execute Moralis.enableWeb3(), as Moralis Moralis.enableWeb3() already has been called, but is not finished yet
at Function. (moralis.js:5932:23)
at tryCatch (moralis.js:73891:40)
at Generator.invoke [as _invoke] (moralis.js:74122:22)
at Generator.next (moralis.js:73947:21)
at asyncGeneratorStep (moralis.js:30483:24)
at _next (moralis.js:30505:9)
at moralis.js:30512:7
at new Promise ()
at new Wrapper (moralis.js:57078:24)
at Function. (moralis.js:30501:12)
at tryCatch (moralis.js:73891:40)
at Generator.invoke [as _invoke] (moralis.js:74122:22)
at Generator.next (moralis.js:73947:21)
at asyncGeneratorStep (moralis.js:30483:24)
at _next (moralis.js:30505:9)
at moralis.js:30512:7
at new Promise (
at new Wrapper (moralis.js:57078:24)
at Function.
Feb 21, 2022, 7:44 PM
use Async await
Feb 21, 2022, 7:46 PM
ok, i try
Feb 21, 2022, 7:48 PM
goo
Feb 21, 2022, 7:48 PM
thank you
now, i have this error
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'Contract')
now, i have this error
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'Contract')
let tokenx = new web3.eth.Contract(abitoken, tokenaddress);
web3 = await Moralis.enableWeb3();
web3 = await Moralis.enableWeb3({ provider: "metamask", signingMessage: "Contract", chainId: chainidx });
Feb 21, 2022, 7:59 PM
moralis sucks
Feb 21, 2022, 8:28 PM
Relax😅
hi everybody
i solve it, if you have this error, must be change moralis version
i solve it, if you have this error, must be change moralis version
Feb 22, 2022, 9:31 AM