Hi, I’m trying to get my React frontend hosted. The build is successful but the page is blank. When I check the Dev tools and look at the main.js files, they appear to be empty. I have no idea how to fix it.
Hi,
Did you remove the homepage
from your package.json
file. In some cases, the homepage
property in your package.json
file can cause issues with the deployment. If you have this property set, try removing it and redeploying your app. Take a look at a similar post
Because you are using React, make sure you’re using the <Link>
component for navigation instead of standard HTML <a>
elements. Another example post:
1 Like
Got it up and running. Thank you!