-
Notifications
You must be signed in to change notification settings - Fork 6
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
Error When function is imported #3
Comments
Thats not enough information, can you please provide me with your complete setup. |
HI Andrew Select Lambda from services in AWS
Thanks |
I have the same problem. The solution is pretty simple: you need to unzip archive from Here and upload dist/build.zip from unzipped archive to aws lambda function. |
Ok i will investigate this in the next week or so. |
Dear Sir
I set up function as you have described and imported build.zip. I have this error when trying to edit:
Your Lambda function "week-day-startup" cannot be edited inline since the file name specified in the handler does not match a file name in your deployment package.
{
"account": "",
"region": "eu-central-1",
"detail": {},
"detail-type": "Scheduled Event",
"source": "aws.events",
"time": "2016-11-03T16:30:00Z",
"id": "cdc73f9d-aea9-11e3-9d5a-835b769c0d9c",
"resources": [
"arn:aws:events:eu-central-1::rule/my-schedule"
]
}
Error reported is:
{
"errorMessage": "Cannot find module 'index'",
"errorType": "Error",
"stackTrace": [
"Function.Module._load (module.js:276:25)",
"Module.require (module.js:353:17)",
"require (internal/module.js:12:17)"
]
}
Please help to resolve above issues.
THanks
Bhara
The text was updated successfully, but these errors were encountered: