Accepted answer

The problem is you have been trying to deploy the website on Github pages and heroku and thus you have your package.json file configured for both of them. All you need to do is remove the

"homepage": ""

from your package.json file. If you want to deploy the app you need to keep it there, else the app won't work on gh-page.


Just remove

"homepage": ""

from your package.json

Related Query

More Query from same tag