Repo-supervisor, AWS Lambda deployment && "SyntaxError: Unexpected token '<'"

I’m trying to run the Repo-supervisor using AWS Lambda, but due to the lack of its documentation, faced an issue.

At first, there are no steps describing how to exactly run the code using Lamda.
So, what I did was:

  1. cloned the repository to my local machine from the Releases page (3.10, latest)
  2. ran the npm install to install packages (as previously got the " Runtime.ImportModuleError: Error: Cannot find module ‘@octokit/rest’ " error)
  3. created a zip-archive with the node_modules included and uploaded it to an AWS Lambda function
  4. added an API Gateway

Now, when I’m missing an event from my Github repository, its Webhook fails with the 500 error, and the function’s logs say:

"errorType": "Runtime.UserCodeSyntaxError",
"errorMessage": "SyntaxError: Unexpected token '<'",
"stack": [
"Runtime.UserCodeSyntaxError: SyntaxError: Unexpected token '<'",
" at _loadUserApp (/var/runtime/UserFunction.js:98:13)",
" at Object.module.exports.load (/var/runtime/UserFunction.js:140:17)",
" at Object. (/var/runtime/index.js:43:30)",
" at Module._compile (internal/modules/cjs/loader.js:1072:14)",
" at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)",
" at Module.load (internal/modules/cjs/loader.js:937:32)",
" at Function.Module._load (internal/modules/cjs/loader.js:778:12)",
" at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)",
" at internal/main/run_main_module.js:17:47"

What I’m doing wrong here?