Skip to content

The command line is too long. #7250

Closed
Closed

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.

Activity

  1. leoortizz commented on Jun 11, 2024

    @leoortizz
    Member

    Hey @busanTeddyBear, can you please share your package.json?

  2. added
    Needs: Author Feedback
    on Jun 11, 2024
  3. added and removed
    Needs: Author Feedback
    on Jun 11, 2024
  4. ghost closed this as completedon Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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