Closed yonahforst closed 7 years ago
Hi @yonahforst! Thanks for the PR. Looking into this, I can't seem to get a function to run with the syntax that you noted here, with or without iopipe. Am I missing something? It seems as if serverless really wants you to specify a file + handler.
that's interesting. I didn't get any errors on sls 1.14.0
which version did you test it on?
@yonahforst I tried on 1.13.0
and 1.15.3
. I can keep digging if you've got yours working.
Would you mind noting as much about your env as possible? Node version, etc.
whoops! you're totally right. I was able to deploy but didnt actually try invoking the lambda function. now that i try, i get Bad handler functions/handler
is that what you're getting as well?
Ok, yeah that's what I was getting pretty much, was using sls invoke local -f foo
with similar error message.
Probably will close this ticket then (?). Thanks for the feedback!
Sure thing!
handlers like this:
throw this error: