You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However I think setting the "engines": { "node": "14.x" } field in your package.json is the right solution here.
The CLI should still build fine with Node.js 16, but since we currently don't support the nodejs16.x runtime, it does not make sense to allow the creation of Lambdas with Node.js 16 as target.
Are we able to look into supporting node 16? Node 14 is significantly out of date at this point, especially with the version of npm it ships with. Let me know if you need help with anything on this, happy to help.
didn't noticed yet that Node.js 16 runtime was released to Lambda@Edge as well. Thanks for the reminder.
Upgrading should only have a small impact since it is only used by the router module.
The Next.js functions itself run on standard Lambdas that already support Node.js 16.
@ofhouse Amazing! Thank you so much for replying & so glad to hear :D Please let us know timing so we can adjust once the support is deployed. Exciting news!
ToDo:
@vercel/build-utils
nodejs16.x
invariables.tf
v4.15.0
to be released (Feature Request: nodejs16.x support for aws_lambda_function hashicorp/terraform-provider-aws#24714, build(deps): bump github.com/aws/aws-sdk-go from 1.44.10 to 1.44.13 hashicorp/terraform-provider-aws#24768)The text was updated successfully, but these errors were encountered: