Netlify site publishing but blank screen

Viewed 1599

I have created a site using CRA, If I run build it all works fine on Github-pages, but when I attempt to run the site through my Netlify account it shows up a blank page. It's connecting to the site as the html is showing with my React page. but there is no content. The Repo in Github has a client folder in which is my build folder. I have tried everything to get this working, am I missing something simple?

This is my Package.json file: enter image description here

My Netlify settings point to the correct directory:

enter image description here

There is also a 404 error showing when the page loads:enter image description here

1 Answers

I changed the homepage of my package.json file to "." and then on netlify changed the settings to not see npm warnings as errors which I think was blocking the site compiling. This was done by adding CI=false on the build command on netlify.

Everything is now working

Related