Site cannot be accessed after successful deploy

To start I have reviewed multiple posts including this one: [Support Guide] I’ve deployed my site but I still see "Page not found”

And I have still have not been able to find a solution.

Netlify site that is not currently working: https://determined-allen-5efc2c.netlify.app/

My github repo for this: GitHub - Rinzler8806/reactPortfolio

Working site on heroku: https://portfolio916.herokuapp.com/

I am trying to create my netlify site through the github repo and I see the message for Published deploy, however when I click the preview deploy link or even the production link, the page is blank. I have also downloaded the files to review and cannot figure the issue out. Note: This is a react app.

Above you can see what may be an issue at line 63, however when I investigated the code it appeared as it should.

“exports”: {

".": {

  "require": "./lib/postcss.js",

  "import": "./lib/postcss.mjs",

  "types": "./lib/postcss.d.ts"

},

"./": "./"

},

I’m stumped. Any help would be greatly appreciated!

Hi @Rinzler8806

If you look at devTools when your site is loading, you will see all the URLs returning 404 are prepended with /reactPortfolio. Remove the homepage from your package.json (the setting you have is for GitHub deployment.

"homepage": "https://rinzler8806.github.io/reactPortfolio/",
1 Like

Thank you! I just had to delete out the link and now that has resolved my issue.

1 Like