source-map-support is imported inside the function, so I don't think it should be installed as a dev dependency.
If I install source-map-support as a dev dependency, and invoke the function on AWS Lambda, I get the following error Runtime.ImportModuleError: Error: Cannot find module 'source-map-support/register'
I'm new to Serverless and Typescript, so I might be completely mistaken here. Let me know.
source-map-support is imported inside the function, so I don't think it should be installed as a dev dependency.
If I install source-map-support as a dev dependency, and invoke the function on AWS Lambda, I get the following error
Runtime.ImportModuleError: Error: Cannot find module 'source-map-support/register'
I'm new to Serverless and Typescript, so I might be completely mistaken here. Let me know.