Replies: 4 comments
-
I'm not sure. I haven't used Serverless Framework for a long time. I could take a look. |
Beta Was this translation helpful? Give feedback.
-
You can use 'sls' to deploy docker packaged lambda functions at this moment. For zip packaged lambda functions, I need to look deeper. |
Beta Was this translation helpful? Give feedback.
-
Yes @bnusunny I have tried the docker version of it. It is working as expected. Looking forward for updates on zip deployment. Thanks !! |
Beta Was this translation helpful? Give feedback.
-
I have added an example implementation for those who are seeking an example of deploying a NestJs framework using the serverless framework I made a PR here: #394 |
Beta Was this translation helpful? Give feedback.
-
Is there a way I can run and deploy using serverless commands ?
When I try to run this locally using above commands, getting below error
`
Runtime.ImportModuleError: Error: Cannot find module 'run'
Require stack:
at _loadUserApp (/nextjs-zip/node_modules/serverless-offline/src/lambda/handler-runner/in-process-runner/aws-lambda-ric/UserFunction.js:310:15)
at async module.exports.load (/nextjs-zip/node_modules/serverless-offline/src/lambda/handler-runner/in-process-runner/aws-lambda-ric/UserFunction.js:341:21)
at async InProcessRunner.run (file:///nextjs-zip/node_modules/serverless-offline/src/lambda/handler-runner/in-process-runner/InProcessRunner.js:41:21)
at async MessagePort. (file:///nextjs-zip/node_modules/serverless-offline/src/lambda/handler-runner/worker-thread-runner/workerThreadHelper.js:24:14)
✖ Error: Cannot find module 'run'
Require stack:
`
Beta Was this translation helpful? Give feedback.
All reactions