-
Notifications
You must be signed in to change notification settings - Fork 188
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
context.succeed is not a function #50
Comments
Seeing the same error message. It seems like context does not have implement |
context does implement succeed and fail though: code. And it works just fine for me. What version of node-lambda are you running? |
i exited lambda because i was unable to make it work on the required timeline sorry :( |
This is an issue with https://github.com/motdotla/node-lambda-template If you are starting with that, it uses an out-of-date version of node-lambda. In "dependencies": {
"node-lambda": "0.1.5"
} to "devDependencies": {
"node-lambda": "^0.7.1"
} Then, be sure to update your packages: rm -rf node_modules
npm install |
er. right you are, @lancefisher. |
context.succeed( {test:'foo'} );
is a valid JSON endpoint response underlambda
. However, undernode-lambda
, one instead receives (admittedly this is an svg, not the string foo):Am I misusing something?
The text was updated successfully, but these errors were encountered: