React moralis problem

I made a react app with CRA and tailwindcss.

Anytime I import the Moralisprovider, webpack breaks with a list of unresolved modules such as stream ,os, http and so on.

are you using create-react-app v5?

Iā€™m using the latest version. I also tried creating an app from scratch without CRA and still got same errors

CRA v5 breaks many things as it seems to use webpack 5
Use CRA v4 for now while we see how to support v5

Alright let me install version 4 and try again.