New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invoke local fails with docker if app and org are set #6939
Comments
This is still an issue in |
this is still an issue in 1.76.1 |
Is this an issue with the latest Framework version? |
Still an issue at
|
@danielolaviobr How about latest v3 release? |
Haven't tested |
I have a similar issue when I run this config it works
with this it fails
the s_nuxt.js file generated
It fails because the handler: I think just require the file without adding the extension should work but Idk |
Bug Report
Description
serverless invoke local -f hello --docker
fails ifapp
andorg
are set in serverless.ymlWhat did you do?
serverless invoke local -f hello --docker
What happened?
An error is thrown:
TypeError: e is not a function
.This is failing because wrapNodeJS is being called twice during the invocation. This is because it's associated with 2 hooks which both fire when
app
andorg
are set.This means that the resultant
s_hello.js
file ends up referencing itself:The
e is not a function
refers to the handler function not being a valid function any more.What should've happened?
The lambda function runs.
What's the content of your
serverless.yml
file?What's the output you get when you use the
SLS_DEBUG=*
environment variable (e.g.SLS_DEBUG=* serverless deploy
)The text was updated successfully, but these errors were encountered: