Skip to content

The command line is too long. #7250

Closed
Closed
@ghost

Description

[REQUIRED] Environment info

firebase-tools : 13.11.2

Platform : Windows

Next.js : 14.2.4

[REQUIRED] Test case

N/A

[REQUIRED] Steps to reproduce

  1. Run firebase deploy command

[REQUIRED] Expected behavior

N/A

[REQUIRED] Actual behavior

I'm using Next.js with hosting integration.
I'm getting the following error when deploying:

...

Building a Cloud Function to run this application. This is needed due to:
 • middleware
 • non-static component /[locale]/[...rest]/page
 • non-static component /[locale]/page

Unable to bundle next.config.mjs for use in Cloud Functions, proceeding with deploy but problems may be encountered.
The command line is too long.

...

However, a final message indicating that deployment has been completed successfully is displayed.

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