Not my first time using React + Firebase Hosting, even my portfolio is hosted using Firebase hosting, I have this client project which I attempt to deploy in Firebase and got the white blank issue, which lead to 404 resources issue for the hash js and css. If I tried to add the rewrite
rule in my package.json
it will end up the unexpected > token issue. The project works as expected in my local machine without any errors in console.
Tried workaround solution but no luck.
- Clear cache
- Package json configuration with related topic here, most of the topic are old, just the 2 months ago is new but didnt solve anything from my end.
- Even ChatGPT help will just circles me to the same errors.
- Confirmed that it’s not related to react and node version, I tried downgrading as last resort.
The weird part atleast for me.
I tried to deploy a test project using npx-create-react-app test
and didnt make change to it, and build the project, and deploy it to Firebase hosting with its procedure and got the same errors. But that’s almost an empty or atleast default project. Your thoughts please?
I was expecting to deploy my client website using React + Firebase hosting
John Charlie is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.