Hey any reason why the page wont load? I used the cli to host the domain everything says it deployed successfully but the page is just blank heres the link https://j94pfoghoaw0.usemoralis.com/
this is the code that is saved there:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Moralis site created using create-react-app" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap"
rel="stylesheet"
/>
<title>ethereum-boilerplate</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
</body>
</html>
this is what you wanted to upload?
Yeah I used the moralis-admin-cli deploy
I mean, that html is an empty page, it doesn’t have any text. that is what you wanted to upload?
yes that is where…
maybe something didn’t work well on build, there should be some javascript included for a react project in that html
When I compile it it gives me warning and says it compiled with 98 warnings
Please can you help me fix this i need to get this out as im under alot of pressure
I’m not expert in react to be able to help you now
Okay but now the uniswap logo becomes compressed and the site keeps reloading
Mayeb becuase im using the public folder and not the .build folder??
maybe, it has to be somewhere in build folder
How do you get the build folder??
I don’t know, there should be a folder with that specific name, you can look in folders to see what it is there
Do you have the javascipt code??
And then this happens sometimes…
what javascript code? when you build, it should generate javascript that will be imported in html
oh i see…okay…
Seemed you were using the boilerplate.
You need to run yarn build
or npm run build
to get a build folder, then navigate to the build folder in your terminal and you can run the deploy command moralis-admin-cli deploy
to get it deployed