You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 23, 2023. It is now read-only.
Description
The deployment guide about AWS Lambda is incomplete and it's hard to realize how to run the code.
After eventually ran it, got the error saying:
Reproduction
As there is no defined Handler in the docs, I did the following:
npm install
to install packages (as previously got the "Runtime.ImportModuleError: Error: Cannot find module '@octokit/rest'" error)node_modules
included and uploaded it to an AWS Lambda functionNow, when creating a PR in a Github repository, it fails with the 500 error and the function's CloudWatch logs days about the "SyntaxError" error.
Environment
Runtime: Node.js 14.x (the same issue when using 10.x which is mentioned in the docs)
Handler:
src.index.lambda
The text was updated successfully, but these errors were encountered: