Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

Could not open file: /index.js #65

Closed
JofCla opened this issue Mar 26, 2018 · 4 comments
Closed

Could not open file: /index.js #65

JofCla opened this issue Mar 26, 2018 · 4 comments

Comments

@JofCla
Copy link

JofCla commented Mar 26, 2018

I ziped the custom files and uploaded it in the lambda function part but I have this message and it won't work.
"The file index.js could not be found. Make sure your handler upholds the format: file-name.method."
I just uploaded the files and didn't chage any name.

Any idea of what I did wrong please?
Thank you.

@franklin-lobb
Copy link
Contributor

This most commonly happens when your files are inside a folder within the zip file rather than being in the root of the zip file.

@franklin-lobb
Copy link
Contributor

@JofCla if you're still having problems, please reopen the issue.

@aoboaten1
Copy link

Having the same problem

@aaronskudder1
Copy link

I have the same problem. I try put index.js in root and node modules in folder under root. It still no work

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants