React build connection with Moralis works local but not online

Hey there, hope you are fine. I have a problem uploading my site frontend with react and moralis connection… i use vercel framework to upload to a vercel host…

In my local host, i can build my front and works perfect, but when i uploaded to vercel, nothing works… before saying is a moralis thing, anyone can help me with a guide to check if i have to have any consideration with me front in order to publish and connect with moralis?

Does the site deploy? If so, check your browser console for any errors when browsing your site.

If it didn’t deploy, can you check your Vercel deploy logs for any errors.

Which React / Moralis / react-moralis versions are you using?

hey i think is a thing with the version…
“moralis”: “^1.11.0”,
“react-moralis”: “^1.4.1”,

import Moralis from 'moralis/types';

You need to be using [email protected] together with [email protected].

and the import is correct? using the type to make then the new object…

the error disappear but now another appears… i have a problem to access to the API now…

Uncaught (in promise) Error: XMLHttpRequest failed: “Unable to connect to the Parse API”
at handleError

and i woke up already the server :S

No, you import with import Moralis from 'moralis', looks like your editor autocorrected it.

What is your serverUrl? Make sure your serverUrl and appId are correct - if you have enabled domain whitelisting to your server, check that as well.