SNS Offline + Typescript
See original GitHub issueHello, I am using Serverless with typscript and the plugin is not working. I’m getting the following error:
Class extends value [object Object] is not a constructor or null
Do you know what this could possible be? My current config is:
"serverless-offline-sns": { port: 4002, debug: true, location: ".webpack" }
Thank you.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:5
- Comments:8
Top Results From Across the Web
Typescript handlers · Issue #1 · mj1618/serverless-offline-sns ...
I'm using your plugin to simulate SNS locally for my serverless project. My handlers are written in typescript, and I am using serverless-plugin-typescript....
Read more >serverless-offline-sns - npm
Serverless plugin to run a local SNS server and call lambdas with events notifications.. Latest version: 0.76.0, last published: a year ago.
Read more >Serverless Offline SNS - Morioh
A serverless plugin to listen to offline SNS and call lambda fns with events. This plugin provides an SNS server configured ... (useful...
Read more >How to set function.events.sns.arn in a serverless.ts file?
The answer is .. type coercion! Had to downcast to unknown, then upcast to the Sns event type. Here's a minimal serverless.ts from...
Read more >Serverless Offline testing and deployment #09 - YouTube
... SQS, SNS Serverless Lambda deployment Lambda with API Gateway, offline lambda testing, and many ... Node JS with Typescript and TypeORM ...
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 Free
Top 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
This appears to have broken somewhere between https://github.com/mj1618/serverless-offline-sns/compare/v0.74.0...v0.75.0
I received the same error with the newest version (0.76.0 at this time). When I executed the example project serverless-offline-sns-example, the version used was 0.72.0. The older version works correctly.