'React app returning a blank page on github pages

i created a portfolio website and deployed to github pages but it's returning a blank page, i have updated the homepage and scripts in package.json, i tried deploying via vercel and netlify and it's the same error.

the github link is https://github.com/dayolovesruby/MyPortfolio

the github pages link is https://dayolovesruby.github.io/MyPortfolio/

n.b the website is working well in my localhost



Solution 1:[1]

Remove the dayolovesruby part from the homepage in package.json.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Gabriele Petrioli