Support for Node v16
anudit opened this issue · 4 comments
anudit commented
Could we upgrade @vercel/build-utils
to 2.17.0
from 2.12.1
to support the new Node 16 runtime?
ofhouse commented
Hi, yes Node 16 runtime support is on the radar, but takes a few extra steps besides just upgrading the @vercel/build-utils
dependecy:
Upgrade sammy: milliHQ/sammy#13Upgrade@vercel/build-utils
Set default runtime tonodejs16.x
invariables.tf
Wait for Terraform AWS Providerv4.15.0
to be released (hashicorp/terraform-provider-aws#24714, hashicorp/terraform-provider-aws#24768)
Support for the Lambda runtime nodejs16.x
is tracked here: #316
ofhouse commented
Oh, misinterpreted your issue.
You are asking for Node.js 16 support for the CLI not the nodejs16.x
runtime 🙈
ofhouse commented
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.