./node_modules/defender-base-client/lib/autotask/index.js Module not found: Can't resolve 'aws-sdk/clients/lambda' in

I keep getting this error when I try to import in my React client app. I don't understand what the problem is. The aws-lambda imports should be for autotask and I wasn't importing through an autotask.

Hey @isoteriksoftware, please check out this thread:

1 Like

Oh wow... never thought about it that way. thanks

1 Like

i think you are missing the real use case. most app would like to pay the gas fee for their users so this provider must have a client implementation as well. In addition, the whole point of having whitelisting ability within the defender should prevent anyone from using your relayer to different purposes.