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.

SNS Offline + Typescript

See original GitHub issue

Hello, 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:open
  • Created 2 years ago
  • Reactions:5
  • Comments:8

github_iconTop GitHub Comments

2reactions
rcambrjcommented, Mar 2, 2022
2reactions
evandromilliancommented, Nov 16, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

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