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