-
Notifications
You must be signed in to change notification settings - Fork 91
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
Invalid ELF Header on Lambda Function #196
Comments
Can you post this in muhammara as well? It seems to me it's a hummusJS related issue. |
@giocodebot I overcame the issue by creating a separate layer for the HummusRecipe + Muhammara packages and repackaging it using a LambCI docker image (clear your .node_modules beforehand):
I use a separate layer to avoid tedious repackaging on every change |
@lkowalski-smartbusiness When you say you create a seperate layer - do you mean with only the HummusRecipe + Muhammara in it, or do you mean your project as a whole and then the output.zip is uploaded as your main project on the lambda? |
@midnite81 I meant just the HummusRecipe + Muhammara but I stand corrected as there were various issues to that approach (most likely some libraries overlapping in the layer and the actual lambda function that was built the normal way, haven't had the time to investigate deeply).
I'll be following up with my findings for a proper layer with just the libraries packaged in it when I do find the time to debug it properly. |
hey, this is mostly an architecture error, like you are compiling or bundling the muhammara binary on a windows machine and then upload it to lambda. similar issues are here: |
Hi! I hope you can help me, I'm trying to run it on a Lambda funtion running NodeJS 12.x but when I call it I receive the following error, thank you!
The text was updated successfully, but these errors were encountered: