question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting error when deploying to a aws lambda for serverless usage.

See original GitHub issue

I am getting an error on line 41 of pass.js - Object.assign(this, this._parseSettings(options));

TypeError: Cannot read property 'reduce' of undefined
    at Object.filter (/var/task/node_modules/passkit-generator/src/schema.js:133:14)
    at Pass._parseSettings (/var/task/node_modules/passkit-generator/src/pass.js:676:31)
    at new Pass (/var/task/node_modules/passkit-generator/src/pass.js:41:28)
    at exports.handler (/var/task/index.js:13:20)

Any suggestions on how to debug? The same code works when I run it locally.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mgcoxcommented, Jan 10, 2019

This update fixed the issues! Great work

0reactions
alexandercerutticommented, Jan 9, 2019

@mgcox I’ve published the update! Let me know if it works!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot deployment issues in Lambda
This issue can occur when you specify an Amazon S3 object in a call to UpdateFunctionCode, or use the package and deploy commands...
Read more >
Top 10 Serverless Deployment Errors (and How to Fix Them)
If you see this error, check that the needed parameter is available in the environment you're trying to deploy to, and add it...
Read more >
Error in Serverless deployment with AWS Lambda #273 - GitHub
The error displayed to you happens when after we made the deployment request to Lambda and parse the return response. If we parse...
Read more >
Deploying to AWS - Serverless Framework
The Serverless Framework was designed to provision your AWS Lambda ... on CloudFormation for deployments, users of the Serverless Framework get the safety ......
Read more >
Error while deploying lambda function using serverless ...
It is mandatory for me to use serverless framework. – Syed. Aug 15 at 15:25 · You will still be developing serveless framework....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found