Skip to content

[Bug]: NextJS Deploy stopped working after todays runtime merge #2162

Closed
@bentrynning

Description

@bentrynning

Summary

Deploy fails with the following errors

10:16:46 PM: Deploy site                                                   
10:16:46 PM: ────────────────────────────────────────────────────────────────
10:16:46 PM: ​
10:16:46 PM: Starting to deploy site from 'apps/store/.next'
10:16:46 PM: Calculating files to upload
10:16:47 PM: 47 new files to upload
10:16:47 PM: 3 new functions to upload
10:16:52 PM: Invalid AWS Lambda parameters used in this request.
10:16:53 PM: Invalid AWS Lambda parameters used in this request.
10:16:54 PM: Invalid AWS Lambda parameters used in this request.
10:16:54 PM: Invalid AWS Lambda parameters used in this request.
10:16:55 PM: Invalid AWS Lambda parameters used in this request.
10:16:55 PM: Invalid AWS Lambda parameters used in this request.
10:16:56 PM: Invalid AWS Lambda parameters used in this request.
10:16:57 PM: Invalid AWS Lambda parameters used in this request.
10:16:57 PM: Invalid AWS Lambda parameters used in this request.
10:16:57 PM: Invalid AWS Lambda parameters used in this request.
10:16:59 PM: Invalid AWS Lambda parameters used in this request.
10:17:00 PM: Invalid AWS Lambda parameters used in this request.
10:17:01 PM: Invalid AWS Lambda parameters used in this request.
10:17:01 PM: Invalid AWS Lambda parameters used in this request.
10:17:03 PM: Invalid AWS Lambda parameters used in this request.
10:17:03 PM: Invalid AWS Lambda parameters used in this request.
10:17:04 PM: Invalid AWS Lambda parameters used in this request.
10:17:08 PM: Invalid AWS Lambda parameters used in this request.
10:17:08 PM: Invalid AWS Lambda parameters used in this request.
10:17:08 PM: Invalid AWS Lambda parameters used in this request.
10:17:14 PM: Invalid AWS Lambda parameters used in this request.
10:17:15 PM: Invalid AWS Lambda parameters used in this request.
10:17:18 PM: Invalid AWS Lambda parameters used in this request.
10:17:25 PM: Invalid AWS Lambda parameters used in this request.
10:17:26 PM: Invalid AWS Lambda parameters used in this request.
10:17:29 PM: Invalid AWS Lambda parameters used in this request.
10:17:35 PM: Invalid AWS Lambda parameters used in this request.
10:17:50 PM: Invalid AWS Lambda parameters used in this request.
10:17:55 PM: Invalid AWS Lambda parameters used in this request.
10:17:59 PM: Invalid AWS Lambda parameters used in this request.
10:18:11 PM: Invalid AWS Lambda parameters used in this request.
10:18:12 PM: Failed to upload file: _ipx
10:18:18 PM: Failed to upload file: ___netlify-odb-handler
10:18:44 PM: Failed to upload file: ___netlify-handler
10:18:44 PM: Section completed: deploying
10:18:44 PM: Site deploy was successfully initiated
10:18:45 PM: ​
10:18:45 PM: (Deploy site completed in 1m 58.2s)

A link to a reproduction repository

https://github.com/bentrynning/next-app-test

Expected Result

The site to be deployed

Actual Result

See Summary

Steps to reproduce

Just try to deploy a starter version of NextJS app, or any existing Next app.

Next Runtime version

v4.37.4

Is your issue related to the app directory?

  • Yes, I am using the app directory

More information about your build

  • I am building using the CLI
  • I am building using file-based configuration (netlify.toml)

What OS are you using?

None

Your netlify.toml file

`netlify.toml`
# Paste content of your `netlify.toml` file here

Your public/_redirects file

`_redirects`
# Paste content of your `_redirects` file here

Your next.config.js file

`next.config.js`
# Paste content of your `next.config.js` file here. Check there is no private info in there.

Builds logs (or link to your logs)

Build logs
# Paste logs here

Function logs

Function logs
# Paste logs here

.next JSON files

generated .next JSON files
# Paste file contents here. Please check there isn't any private info in them
# You can either build locally, or download the deploy from Netlify by clicking the arrow next to the deploy time.

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