TypeError: Plugin is not a constructor
sdrissi opened this issue · 5 comments
Hey there!
I get a "TypeError: Plugin is not a constructor" when trying to run serverless offline start
with serverless-dynamodb-client plugin enabled.
Version I used:
- serverless v1.32.0
- node v8.10
- serverless-offline v3.28.1
- serverless-dynamodb-local v0.2.35
On top of that I use typescript.
Thanks for the help
Experiencing the exact same issue, here is the environment info:
Operating System: darwin
Node Version: 13.6.0
Framework Version: 1.64.0
Plugin Version: 3.4.0
SDK Version: 2.3.0
Components Core Version: 1.1.2
Components CLI Version: 1.4.0
Any news on that ?
Same over here..
Also seeing this
It means one of your plugins in the serverless.yml plugins section is not actually a serverless plugin
Ran the mistake of thinking this was a first-class serverless plugin and when I configured it under plugins in serverless.yml I got the same error (non-typescript project). Not sure if that's what folks in here are experiencing but this is merely a library that abstracts away the localhost config differences btwn running locally vs in AWS that is mentioned here. Removing from the list of plugins in serverless.yml and just using it like any other npm package solved the issue on my end.