How do I deploy a dynamic Next.js website to Firebase hosting?
I don’t want to deploy a static website since my website utilizes both Client-Side Rendering (CSR) and Server-Side Rendering (SSR). I need to deploy it in a way that supports dynamic content generation.
Nothing is displayed after NPM Run Build and Firebase Deploy
When I deploy to firebase this is what I get in the logs and the main.css and main.js can’t be found. Nothing displays in the webapp site
Firebase deploy created over 10k changes
I tried to integrate next.js project with firebase. Everything was ok, however when I tried to use firebase hosting, it made over 10k changes. The project itself has only like 28 files (basically this is default project from npm create
. What is wrong? I have deployed a small react project and it never made so many changes. At this point I even do not know where to look, all the changes are in .firebase
folder
How can I use firebaseServerApp on a local emulator suite?
I am trying to build a web app using Next.js (App Router) on firebase. First, I am testing FrendlyEats, which is provided as a sample.
i made a context to show the email after logging in (next js and firebase) but an error appeared when i try to show the email in navbar
this error appears when i try to load the page
Error: (0 , lib_AuthContext__WEBPACK_IMPORTED_MODULE_1_.useAuth) is not a function
Firebase Google Auth does not work on Vercel
I use Vercel for deployment. After build, google auth works fine only first time, after log out currentUser always is equal null.