firebase / firebase-tools

The Firebase Command Line Tools
MIT License
4.02k stars 943 forks source link

firebase hosting with nextjs13 ssr gives 500 internal server error #5392

Closed agdolla closed 1 year ago

agdolla commented 1 year ago

[REQUIRED] Environment info

firebase-tools: 11.19.0

Platform: macOS Ventura (13.0.1) nextjs 13 with SSR and firebase experiments:enable webframeworks

[REQUIRED] Steps to reproduce

firebase deploy --only hosting open url with browser

[REQUIRED] Expected behavior

webpage works

[REQUIRED] Actual behavior

webpage gives 500 Internal Server Error

firebase deploy works:

Screenshot 2023-01-04 at 18 39 29 Screenshot 2023-01-04 at 18 40 56

When I open the url I get: 500 Internal Server Error

In the Logs Explorer I can see that the function returns 500 but the log does not help to find out why. Is there any way to see what is going on ?

google-oss-bot commented 1 year ago

This issue does not seem to follow the issue template. Make sure you provide all the required information.

agdolla commented 1 year ago

I guess the function fails because of this bug: https://github.com/firebase/firebase-tools/issues/5247