aws-serverless-workshops icon indicating copy to clipboard operation
aws-serverless-workshops copied to clipboard

Node JS issue

Open robertjsandor opened this issue 1 year ago • 1 comments

Looks like Node js 16.0 runtime has been deprecated in AWS Lambda. Can anyone point me to how to change the code to support the 18.0 environment?

Changing the runtime brings up an error with the jQuery. I did change the code to the guided fix, but then the test event gives me a 500 error.

Sorry, not a good enough coder to understand the issue, but the code worked fine with Node 16.0.

robertjsandor avatar Nov 18 '24 00:11 robertjsandor

requestUnicorn works for me with 18.x. It tests ok with the sample event. I haven't been able to get Cognito to work, though. I think the ocde is old and not really supported anymore.

kristofrk avatar Dec 08 '24 20:12 kristofrk