AWS-SDK in nodejs Lambda function cannot find endpoint-cache module
I ran into this issue a few months back. Turns out I needed to make sure the package lock file was included in the project and had the aws-sdk version set
I had this issue yesterday, I solved it by removing the aws-sdk
in the package.json
& deleting + reinstalling my node_modules
folder. Hope this solves your problem.
I think the aws-sdk
is already included by default.