[SOLVED] Moralis Provider white screen

Hello all,

Beginner in web3 dev, i try to launch my first project by myself.
I created a free account on Moralis, and followed the tutorial here: https://docs.moralis.io/moralis-dapp/connect-the-sdk/connect-with-react.
I started to build my own frontend, and from the tutorial, i wanted to add the Moralis provider to it. Here is my code:

After adding the two lines corresponding to the Moralis provider, i got a whitescreen on my front end.

The error seems simple but I don’t know where it comes from. I appreciate in advance all your comments and suggestions.

what is the error? you can find it in the browser console

also, i run npm run dev to launch the front end on localhost:3000

For the ReactDOM.render error, you can read this. You need to update your app entry (main.tsx) for the React version you’re using.

How did you create/bootstrap this React project (commands)? It should’ve set all of this up properly for you. Or did you migrate from another project.

@cryptokid @alex
At the end, the problem was that the moralis server was sleeping. And now it works as expected, thanks !

1 Like