Hello Ivan, i am having trouble with the javascript programming course where we create a DEX using moralis.io. i keep getting this promise error message. please help.
This is the error i receive on Inspect element on google chrome browser:
Uncaught (in promise) Error: Web3Api not initialized, run Moralis.start() first
at Function. (moralis.js:7005)
at tryCatch (moralis.js:28071)
at Generator.invoke [as _invoke] (moralis.js:28301)
at Generator.next (moralis.js:28126)
at asyncGeneratorStep (moralis.js:27580)
at _next (moralis.js:27602)
at moralis.js:27609
at new Promise ()
at new Wrapper (moralis.js:32483)
at Function. (moralis.js:27598)
and this is the message i get on visual code studio:
Property ‘Web3API’ does not exist on type ‘typeof Moralis’.ts(2339)