Skip to main content
added 16 characters in body
Source Link

As most of us have already suggested removing homepage property from package.json

Let me explain, why it worked in my case:

Earlier I had setup my project to be hosted on Github pages and as a result, it had homepage property set to something like "https://shubhamshd.github.io/supplyChainApp"

However as there are known navigational errors mainly related to BrowserRouter package on Github-pages, I had to switch to other hosting platforms.

And as I forgot to remove the homepage property, deployment did not work on any of the platforms like Vercel or Netlify.

It was after long hours of search and trial, that I finally stumbled upon this thread, specifically the @Shashwat Gupta and finally managed to resolve it by removing the unwanted homepage property.

As most of us have already suggested removing homepage property from package.json

Let me explain, why it worked in my case:

Earlier I had setup my project to be hosted on Github pages and as a result, it had homepage property set to something like "https://shubhamshd.github.io/supplyChainApp"

However as there are known navigational errors mainly related to BrowserRouter package, I had to switch to other hosting platforms.

And as I forgot to remove the homepage property, deployment did not work on any of the platforms like Vercel or Netlify.

It was after long hours of search and trial, that I finally stumbled upon this thread, specifically the @Shashwat Gupta and finally managed to resolve it by removing the unwanted homepage property.

As most of us have already suggested removing homepage property from package.json

Let me explain, why it worked in my case:

Earlier I had setup my project to be hosted on Github pages and as a result, it had homepage property set to something like "https://shubhamshd.github.io/supplyChainApp"

However as there are known navigational errors mainly related to BrowserRouter package on Github-pages, I had to switch to other hosting platforms.

And as I forgot to remove the homepage property, deployment did not work on any of the platforms like Vercel or Netlify.

It was after long hours of search and trial, that I finally stumbled upon this thread, specifically the @Shashwat Gupta and finally managed to resolve it by removing the unwanted homepage property.

Source Link

As most of us have already suggested removing homepage property from package.json

Let me explain, why it worked in my case:

Earlier I had setup my project to be hosted on Github pages and as a result, it had homepage property set to something like "https://shubhamshd.github.io/supplyChainApp"

However as there are known navigational errors mainly related to BrowserRouter package, I had to switch to other hosting platforms.

And as I forgot to remove the homepage property, deployment did not work on any of the platforms like Vercel or Netlify.

It was after long hours of search and trial, that I finally stumbled upon this thread, specifically the @Shashwat Gupta and finally managed to resolve it by removing the unwanted homepage property.