Getting this error "Super expression must either be null or a function" while configuring in React

I am trying to configure [email protected] on React. showing the following error.
Using Tailwind + React + Vite


Any ideas why and how to solve it, please?

Could you please double check you are actually importing parse/react-native.js?

I am not using React Native

Sorry. I misunderstood it. Would you mind to share your package.json and how you are importing and initializing Parse?

Hello Sorry, for the delay in reply.
We moved to Chakara UI, now it’s working fine.