firebase-tools icon indicating copy to clipboard operation
firebase-tools copied to clipboard

The command line is too long.

Open busanTeddyBear opened this issue 1 year ago • 3 comments

[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.

busanTeddyBear avatar Jun 03 '24 10:06 busanTeddyBear