Skip to content
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

getting issue when we update nodejs 18.x #342

Closed
juztinlazaro opened this issue Aug 7, 2023 · 2 comments
Closed

getting issue when we update nodejs 18.x #342

juztinlazaro opened this issue Aug 7, 2023 · 2 comments
Labels

Comments

@juztinlazaro
Copy link

ServerlessError: An error occurred: WarmUpPluginLambdaFunction - Resource handler returned message: "The runtime parameter of nodejs12.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs18.x) while creating or updating functions. (Service: Lambda, Status Code: 400, Request ID: f5773acd-bcb7-4609-89d6-bd2f4255e207)" (RequestToken: ee336312-5f23-9b4e-e1ef-d2373be1afae, HandlerErrorCode: InvalidRequest)

version: "serverless-plugin-warmup": "^4.9.0",

is any old version can support?

@casperkloppenburg
Copy link

I ran into this issue too. AWS Lambda doesn't support Node.js 12 anymore. Upgrading serverless-plugin-warmup to version 8 did the trick.

@juanjoDiaz
Copy link
Owner

Indeed.

serverless-plugin-warmup uses it's own node version. You should upgrade to a newer plugin version that uses a newer node version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants