Join Slack
Powered by
Does anyone else run into “Cannot find a handler f...
# help
j
Joe Kendal
09/29/2021, 7:21 AM
Does anyone else run into “Cannot find a handler file for” when using Jest and
new sst.Function
?
https://github.com/serverless-stack/serverless-stack/issues/868
t
thdxr
09/29/2021, 3:02 PM
Hey Joe, can you specify the handler relatively?
thdxr
09/29/2021, 3:02 PM
instead of appending to dir
j
Joe Kendal
09/29/2021, 3:08 PM
I tried that. The solution was to just use the sst construct for Auth as opposed to making a custom one for cognito triggers. Please note that this is only a bug when running tests and does not occur when building or deploying
4
Views
Open in Slack
Previous
Next