firebase showing site not found

2,697 views
Skip to first unread message

Anupam Srivastava

unread,
Jun 2, 2021, 5:22:19 AM6/2/21
to Firebase Google Group
Hi guys, I deployed the website correctly but its showing site site not found . I did 
-npm run build
and then deployed the build folder using firebase. Its working fine on localhost but the site URL is giving site not found.

Capture.JPG

Alan Escobar Martinez

unread,
Jun 2, 2021, 12:38:53 PM6/2/21
to fireba...@googlegroups.com
Hello Anupam, 

Most of the time this is caused by choosing the wrong public folder, which is the one that will be serving the files. This configuration can be modified directly in the firebase.json file at the root of your project folder.

Alan

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/8e976b94-c917-4d05-9d61-8e2c94f39476n%40googlegroups.com.


--
EPAM_LOGO_Full_Color_RGB.png

Alan Escobar Martínez

Technical Solutions Engineer

Service provided by EPAM Systems, on behalf of Google

Anupam Srivastava

unread,
Jun 3, 2021, 3:34:39 AM6/3/21
to Firebase Google Group
I did everything correct still getting same error. I chose build for deploy as I am using ReactJs, did not overwrite index.html , redirected wrong URL to index.html as SPA . Then used -npm run build and then firebase deploy. I don't know what is causing this error.
Reply all
Reply to author
Forward
0 new messages