AWS Lambda getting “Cannot find module lambda” due to missing index.mjs
I am trying to deploy my lambda function via Serverless framework’s sls deploy
command. The deployment goes smoothly but when the lambda runs I get the following error.
I am trying to deploy my lambda function via Serverless framework’s sls deploy
command. The deployment goes smoothly but when the lambda runs I get the following error.