-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Environment info
- firebase-tools version: latest (used in GitHub Actions)
- Platform: GitHub Actions (ubuntu-latest)
- Node version: 20
- Next.js version: 15.5.9
- Firebase SDK version: 11.1.0
Steps to reproduce
- Run
firebase deploy --only hostingfor a Next.js 15 project - Build completes successfully
- Deploy fails at the final step
Expected behavior
Deploy should complete successfully.
Actual behavior
Deploy fails with:
Error: An Internal error has occurred. Please try again in a few minutes. If this error persists, please open an issue at https://github.com/firebase/firebase-tools
The error occurs after:
i functions: generating the service identity for pubsub.googleapis.com...
i functions: generating the service identity for eventarc.googleapis.com...
Additional context
- The build phase completes successfully (74 static pages generated)
- The error has persisted for several hours across multiple retry attempts
- Previous deploys to the same project worked fine
- The function being deployed is
ssrcurvamestra(SSR for Next.js)
Full log output shows the deploy reaches the final stage before failing:
i functions: packaged .firebase/curva-mestra/functions (85.07 MB) for uploading
i functions: ensuring required API run.googleapis.com is enabled...
i functions: ensuring required API eventarc.googleapis.com is enabled...
i functions: ensuring required API pubsub.googleapis.com is enabled...
i functions: ensuring required API storage.googleapis.com is enabled...
✔ functions: required API eventarc.googleapis.com is enabled
✔ functions: required API storage.googleapis.com is enabled
✔ functions: required API pubsub.googleapis.com is enabled
✔ functions: required API run.googleapis.com is enabled
i functions: generating the service identity for pubsub.googleapis.com...
i functions: generating the service identity for eventarc.googleapis.com...
Error: An Internal error has occurred.