Possibly a super dumb question: got a lambda that ...
# help
b
Possibly a super dumb question: got a lambda that is triggered from SQS. How do I test this with SST? Terminal logs an error if I try to test the lambda in the AWS Console:
Copy code
Get transspiler handler error TypeError: Cannot read property 'buildPromise' of undefined
The lambda at the moment is just set up to log out the contents of the event and context so there’s nothing weird happening in there.
f
Hey @Brinsley, is there stack trace to the error?
Can you share the full log from the invocation?
b
Sorry for the delayed response, I’ll get this over to you shortly, thanks 🙂
Strangely enough, I started the stack this morning, hit the Test section in the AWS Console and it ran without error! Must’ve been something cached or something weird like that - have made 0 code changes since I had this issue on Thursday.
Maybe I just needed to drop a message here for it to work 😂
f
lol oh nice.. if you run into this again, please DM me the
.build/sst-debug.log
in your SST app. I think it might be an issue with SST reading the above error message.