Getting error when deploying to a aws lambda for serverless usage.
See original GitHub issueI 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:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This update fixed the issues! Great work
@mgcox I’ve published the update! Let me know if it works!