-
Notifications
You must be signed in to change notification settings - Fork 960
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Next.js getServerSideProps results in Internal Server Error #5915
Comments
Hi @timohausmann, thanks for the report. I was able to reproduce the issue that you encountered. I also confirmed that routes with getServerSideProps return internal server error when deployed to Firebase Hosting. I will share the details of my investigation with our team and try to bring someone that can provide additional information about the issue. |
Any updates on this? |
This looks like a duplicate of #5934, since it triggers the same Emulator error for me: I think we have a fix in #6005 that we plan to include in the firebase-tools v12.5. |
I did |
Any updates? Still experiencing this issue in |
Hi, I'm experimenting with deploying Next.js to Firebase and ran into an issue with
getServerSideProps
– it always results in an Internal Server Error. I actually got SSR like this working with the app router, I'm just wondering what the issue could be – any ideas?[REQUIRED] Environment info
firebase-tools: 12.1.0
Platform: macOS
next: 13.4.2
[REQUIRED] Test case
In a Next.js project, I have this file
src/pages/pages-test/index.tsx
:[REQUIRED] Steps to reproduce
npx create-next-app@latest
firebase init
– Next.js was detected and confirmedfirebase deploy
Full repo: https://github.com/timohausmann/nerd-iq
[REQUIRED] Expected behavior
[REQUIRED] Actual behavior
I see errors in the SSR logs, but I see no useful information there:
The text was updated successfully, but these errors were encountered: