i tried to update my application from node 16 to node 18 and after completing my changes versions i started my app and sent a api call and i received following output .
Warning: found unsupported runtime 'nodejs18.x' for function 'rs-ms-v1'
× Unsupported runtime
we are using serverless.yml file
my serverless library version is 3.33.0 i checked the aws documentation lambda functions started to support nodejs18.x
please attach your solutions below .
Nodejs18.x has been supported since version 3.25.0, so there are a couple things to check:
serverless --version
to ensure that you're not overriding a global installation of serverless framework
with an older one inside the project.