Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 of 3 tasks
bentrynning opened this issue Jun 13, 2023 · 3 comments
Closed
1 of 3 tasks

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

bentrynning opened this issue Jun 13, 2023 · 3 comments
Labels
Ecosystem: Frameworks type: bug code to address defects in shipped code

Comments

@bentrynning
Copy link

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.
@bentrynning bentrynning added the type: bug code to address defects in shipped code label Jun 13, 2023
@bentrynning bentrynning changed the title [Bug]: NextJS Deploy stoped working after todays runtime merge [Bug]: NextJS Deploy stopped working after todays runtime merge Jun 13, 2023
@bentrynning
Copy link
Author

bentrynning commented Jun 13, 2023

Looks like deploy step started working again now. But I still get hard refresh when navigating between app pages.

@jpizzle34
Copy link

Looks like deploy step started working again now. But I still get hard refresh when navigating between app pages.

Yep, same here. Deploy is now successful, however looks like netlify odb functions are failling (502) for edge images and dynamic routes

@LekoArts
Copy link

Hi!

AWS had an outage and subsequently we, too. Please see https://www.netlifystatus.com/incidents/kx634qxqpb4g
There was also no new runtime released today since merges on this repository don't mean that they get automatically released. We have to merge a PR like #2157 and then we rollout the release over the timespan of a week.

Please open a new issue with a clear reproduction if you still run into errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ecosystem: Frameworks type: bug code to address defects in shipped code
Projects
None yet
Development

No branches or pull requests

3 participants