-
Notifications
You must be signed in to change notification settings - Fork 116
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
How to change Node Version in Lambda Function that hosts Nextjs SSR #3295
Comments
Hi @saulonunesdev, thanks for raising this question. Updating the runtime for Lambda functions hosting SSR apps is not supported at this time. We will keep this open as a feature request instead. We apologize for this inconvenience. |
Thanks @hloriana ^^ |
This has been identified as a feature request. If this feature is important to you, we strongly encourage you to give a 👍 reaction on the request. This helps us prioritize new features most important to you. Thank you! |
@hloriii any update on this? I have a NextJS app that can be compiled only with Node14 but it seems there is no way to specify a lambda runtime different from 16 |
Up to this, we need this. |
We have a need for this also and would like to be able to ensure our runtime is using the latest LTS node supported by AWS lambda (currently node 18 at the time of writing) |
We definitively need to run our public faced application on maintained environment and lot of lib are dropping node 16 so basically with amplify we are stuck to not update our application |
here is the solution Amplify Hosting now has Next.js 14 support as well. To use this new feature, set https://aws.amazon.com/blogs/mobile/6-new-aws-amplify-launches-to-make-frontend-development-easier/ |
|
This issue has been automatically locked. |
Before opening, please confirm:
App Id
d3vc58cpnaxzh9
AWS Region
us-east-2
Amplify Hosting feature
Deployments
Question
Hi, Thanks for the support and sorry if this is a duplicate, but I've researched a lot and couldn't find any docs or issues related.
I have a nextjs app that needs to run on node18, you can see the issue below.
I've already tried the following:
Here is the repo example: https://github.com/Sirge-io/test-amplify
PS: Just to be clear, i'm not talking about the functions that we can add into
amplify/function
but the lambda that hosts the frontendAny Help is much appreciated. Thanks.
The text was updated successfully, but these errors were encountered: