-
Notifications
You must be signed in to change notification settings - Fork 53
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
AWS Lambda Execution Failed " Cannot find module '/var/task/modules/translate/src/promise" #155
Comments
The previous deploy script copies over submodules into a new dir named package. It seems possible that your submodules weren't pulled in locally before deploying! Try running See line 18 which copies the modules dir (containing multiple git submodules): translation-server/lambda_deploy Lines 16 to 20 in e0e31ec
|
Thank you SevanBadal. I will follow your directions and I will let you know the outcome |
The modules were copied and the problem still persists. My lambda deploy file is shown below:
|
Can you please paste the result of |
|
I'm not seeing promise.js in the contents of your
|
Thanks, yes, the promise js file is missing. I will add, and let you know the outcome. |
I am tryng to redeploy, by using the updated repository. but I am stuck at |
I deployed the zotero translation-server on AWS lambda using your previously deleted lambda_deploy script. Every time I make a request via the API Gateway url the translation-server fails with a "Missing authentication token" The error logs show:
I installed the promise module, but cloudformation doesn't update.
Are there updated instructions or documentation for getting the zotero translation server running on AWS lambda?
The text was updated successfully, but these errors were encountered: