Skip to content

Firebase tools doesn't deploy NextJs web framework for NextJs >=13.5.2 #6400

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

Closed
Vigneshkna opened this issue Sep 24, 2023 · 1 comment
Closed

Comments

@Vigneshkna
Copy link

[REQUIRED] Environment info

firebase-tools: 12.5.4

Platform: Windows

[REQUIRED] Test case

Deploying Next.js => v13.5.2 to firebase doesn't complete due to error. All permission and account setup is correct.

[REQUIRED] Steps to reproduce

  • Setup firebase for nextjs deployment.
  • Deploy project using firebase deploy --only hosting and tried also firebase deploy --only hosting

[REQUIRED] Expected behavior

Deployment complete successfully

[REQUIRED] Actual behavior

> [email protected] deploy
> firebase deploy --only hosting


   Thank you for trying our early preview of Next.js support on Firebase Hosting.
   During the preview, support is best-effort and breaking changes can be expected. Proceed with caution.

   Documentation: https://firebase.google.com/docs/hosting/frameworks/nextjs
   File a bug: https://github.com/firebase/firebase-tools/issues/new?template=bug_report.md
   Submit a feature request: https://github.com/firebase/firebase-tools/issues/new?template=feature_request.md

   We'd love to learn from you. Express your interest in helping us shape the future of Firebase Hosting: https://goo.gle/41enW5X

   Creating an optimized production build...

 ✓ Compiled successfully

   Linting and checking validity of types...

   Collecting page data...

   Generating static pages (0/5)...

(node:16568) ExperimentalWarning: buffer.Blob is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)

   Generating static pages (1/5)


   Generating static pages (2/5)


   Generating static pages (3/5)


 ✓ Generating static pages (5/5)

   Finalizing page optimization...



Route (app)                              Size     First Load JS
┌ ○ /                                    5.57 kB        84.8 kB
└ ○ /_not-found                          878 B          80.1 kB
+ First Load JS shared by all            79.3 kB
  ├ chunks/864-f94dc69de5c9dd8b.js       26.6 kB
  ├ chunks/fd9d1056-e4abb10dc68a7173.js  50.8 kB
  ├ chunks/main-app-876fb5daee66c1a1.js  217 B
  └ chunks/webpack-bd5013f9588cd0cd.js   1.64 kB



○  (Static)  automatically rendered as static HTML (uses no initial props)



Error: An unexpected error has occurred.
@aalej
Copy link
Contributor

aalej commented Sep 25, 2023

Hey @Vigneshkna. Based on the details you provided, it looks the issue you filed is similar to #6382. That said, I’ll be closing this as a duplicate. If you think this is a mistake, feel free to ask this issue to be reopened. Thanks!

@aalej aalej closed this as not planned Won't fix, can't repro, duplicate, stale Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants