Blank page on netlify but works locally

hello
netlify newbie here…i have just deployed a small react project to netlify. it works locally but on netlify it shows a blank screen.
i have amended ci = false and the problem persists.
site name: Netlify
i know this has been posted a number of times on this forum but nothing i have tried works.
any help appreciated
thank you

@react_geek If you check the developer console you will see:

This is because the file you’ve deployed contains:

Obviously /%PUBLIC_URL%/ shouldn’t be there, and won’t work.

Presumably it should have been replaced during your build, so perhaps your build isn’t running.

Check your Build Configuration and ensure it’s set correctly for your project.

thank you @nathanmartin. i have manually edited the links in index.html and re deployed but i still keep getting a blank page.
what am i doing wrong??

got it working! all the href links were messed up in the asset manifest.json so i changed them all. thank you for your help!

1 Like