serverless-dynamodb-local icon indicating copy to clipboard operation
serverless-dynamodb-local copied to clipboard

Plugin is broken with SLS v1.92 update

Open sweepy84 opened this issue 5 years ago • 2 comments

Actual Behaviour

When running sls dynamodb start --migrate I get:

_.get(...).includes is not a function

Expected Behaviour

To run the local db server and migrate tables.

Steps to reproduce it

Using windows machine:

  1. Upgrade SLS from 1.28 to v1.29.2
  2. run sls dynamodb start --migrate

sweepy84 avatar Aug 07 '18 23:08 sweepy84

I got that too. I dug a bit through the code and fixed it by changing the way I had my plugins section of my serverless.yml file formatted.

Doesn't work:

plugins:
  modules:
    - serverless-dynamodb-local
    - serverless-offline

Works:

plugins:
  - serverless-dynamodb-local
  - serverless-offline

jewelsjacobs avatar Dec 02 '18 03:12 jewelsjacobs

See PR https://github.com/99xt/serverless-dynamodb-local/pull/222 for fix

vkartaviy avatar May 07 '19 14:05 vkartaviy