firebase / firebase/apphosting-adapters

Next JS deployment with internationalisation support is getting deploying without any hosting files being served. How can I fix this?

Open
#60 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
478
Forks
1.5k
Avg merge
3d 22h
Merged PRs (30d)
2

Description

[REQUIRED] Environment info
firebase-tools: 11.14.3

Platform: Windows 10

[REQUIRED] Test case
When I run the app on local host (using both firebase serve or npm run dev), everything works as it should but when I deploy the app in production using the experimental Next JS hosting, one time only locale routes were served no root routes and other time nothing got served.

[REQUIRED] Steps to reproduce
Just deploy an internationalised app using next-translate and you will see the issue.

[REQUIRED] Expected behavior
Expected behaviour is the same as the local host i.e. all routes are served.

[REQUIRED] Actual behavior
One time only locale routes are served & no root routes available. Other time, nothing got served.

I have already written this in my threads and so far have not gotten any response. I am a bit disappointed as I always thought Firebase to be very developer friendly but it does not look like that from my experience so far.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.