Skip to content

Firebase tools doesn't deploy NextJs web framework for NextJs >=13.5.0 #6382

Closed
@Ferido07

Description

@Ferido07

[REQUIRED] Environment info

firebase-tools: 12.5.4

Platform: Ubuntu

[REQUIRED] Test case

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions