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
Support Node 16 #11070
Comments
@achuinard Framework supports Node.js v16, it's |
Thanks for the quick response @medikoo. |
@achuinard can we close it? |
I'm running serverless offline 8.8.0 and it still says nodejs16.x is unsupported. 🤷♂️ |
@glimmbo If you're experiencing issues with Node 16 please report at |
this is still happening form me using latest version of serverless at 'provider.runtime': must be equal to one of the allowed values [dotnet6, dotnetcore3.1, go1.x, java11, java8, java8.al2, nodejs12.x, nodejs14.x, provided, provided.al2, python3.6, python3.7, python3.8, python3.9, ruby2.7] |
https://www.serverless.com/framework/docs/guides/upgrading-v3 Service configuration |
Is the documentation out of date or is NodeJS 16 not supported yet |
Hey @jpascoe - which part of the documentation are you referring to? Node 16 is supported, in v3 release there was a change of default runtime from Node 12 to Node 14, but nothing prevents you from setting Node 16 as your preferred runtime. |
I'm receiving that alert too @pgrzesik. I have to upgrade the I'm using version |
@LaTrita97 what does |
Yesterday I noticed that if I deploy all the Lambda functions with But if I try to deploy one single function with Am I wrong something? |
@LaTrita97 Ensure to rely on latest release (it's v3.22.0) |
Ok thanks @medikoo. |
@medikoo I'm having some problems upgrading serverless to the latest version. The current version I have is this
I'm running in the console
Could you please help me to figure out what I'm doing wrong? PS. I also tried to run |
@LaTrita97 what |
Nonetheless, you can ensure an upgraded version for a given service by installing it locally via |
The command
|
@medikoo thank you I've just successfully upgraded the framework locally, but I still continue to don't understand why doesn't work globally |
Are you certain it's a bug?
Is the issue caused by a plugin?
Are you using the latest version?
Is there an existing issue for this?
Issue description
nodejs16.x is rolling out on AWS this week. While it hasn't been announced publicly, the runtime is available, and a public announcement is expected soon. Updating my serverless.yml to the following:
Results in the following error when calling my HTTP function:
If I flip the runtime back to
nodejs14.x
everything works no problem (even if actually using node 16 to run serverless).How can this get fixed?
Service configuration (serverless.yml) content
Command name and used flags
serverless offline start
Command output
Environment information
The text was updated successfully, but these errors were encountered: