You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Firebase tools doesn't deploy NextJs web framework for NextJs >=13.5.0 #6382
Deploying Next.js >= v13.5.0 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 hosting:channel:deploy new-awesome-feature --expires 7d
[REQUIRED] Expected behavior
Deployment complete successfully
[REQUIRED] Actual behavior
TypeError: Cannot destructure property 'customConfig' of '(intermediate value)(intermediate value)(intermediate value)' as it is null.
.
.
.
The process '/usr/local/bin/npx' failed with exit code 2
Error: The process '/usr/local/bin/npx' failed with exit code 2
Reacted by Daniel Griffin, Thato-Raphahlelo, Víctor de Vierna, Null, Ross Edlin, Alex Meddin, Tosin Amuda, Ed Opare-Aryee, Bernardo Cassina Buerba, Jeongho Eom and 2 more
Hey everyone, thanks for raising this issue. I was able to replicate the behavior mentioned. When trying to deploy using Next.js version 13.5.x, an error is being raised.
Let me notify our engineering team about this issue so that they can take a look into this. I’ll also be marking this issue as reproducible.
Reacted by Daniel Griffin, Maciek, Thato-Raphahlelo, Ross Edlin, Conor Schaefer, jimmy123A, Rustam and Daniel Leitch
Activity
Fix Issue firebase#6382 Firebase not working for NextJs >=v13.5.0
devideo-dev commentedon Sep 21, 2023
same issues here
Ferido07 commentedon Sep 21, 2023
We just have to wait until the fix is reveiwed and merged.
dsgriffin commentedon Sep 21, 2023
yep - confirming that attempting to do a v13.5 nextjs release via firebase hosting is blocked right now.
aalej commentedon Sep 21, 2023
Hey everyone, thanks for raising this issue. I was able to replicate the behavior mentioned. When trying to deploy using Next.js version 13.5.x, an error is being raised.
Let me notify our engineering team about this issue so that they can take a look into this. I’ll also be marking this issue as reproducible.
Ferido07 commentedon Sep 22, 2023
@aalej I have created a PR for the fix please try to approve it and see if it passes all the tests.
Fix Issue #6382 Firebase not working for NextJs >=v13.5.0 (#6404)
gblue1223 commentedon Oct 26, 2023
I fixed the issue with [email protected] and [email protected].
Ferido07 commentedon Oct 26, 2023
@gblue1223 The issue is already fixed on [email protected] You can check here https://github.com/firebase/firebase-tools/blob/v12.6.0/CHANGELOG.md You can upgrade you next to v13.5
Merging master into next. (#6619)
ANTONINEUTRON commentedon Dec 28, 2023
I fixed this issue by installing [email protected] while using next 14.0.4
HubertRyanOfficial commentedon Feb 9, 2024
It worked for me