# \[HELP\] Serverless invoke does not start plugins

**URL:** <https://forum.serverless.com/t/help-serverless-invoke-does-not-start-plugins/7493>\
**Category:** Serverless Framework\
**Created:** [February 24, 2019, 8:32pm UTC](https://forum.serverless.com/t/help-serverless-invoke-does-not-start-plugins/7493 "2019-02-24T20:32:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gmlazu](https://avatars.discourse-cdn.com/v4/letter/g/3e96dc/32.png) [@gmlazu](https://forum.serverless.com/u/gmlazu)\
**Post date:** [February 24, 2019, 8:32pm UTC](https://forum.serverless.com/t/help-serverless-invoke-does-not-start-plugins/7493/1 "2019-02-24T20:32:07Z")

</div>

Hello. I’m writing a lambda function that does not require API gateway, thus i’m not using serverless-offline. If I install serverless-offline, the plugins serverless-dynamodb-local and serverless-s3-local start, but when I only use serverless invoke local, these plugins do not start.

Does anyone know why that may be?

serverless.yml:

```
 provider:
  name: aws
  runtime: nodejs8.10

plugins:
  - serverless-plugin-typescript
  - serverless-s3-local
  - serverless-dynamodb-local

functions:
  main:
    handler: src/index.handler
    events:
    - sqs:
        arn: arn:aws:sqs:region:XXXXXX:queue-name
        batchSize: 10

resources:
  Resources:
    BucketName:
      Type: AWS::S3::Bucket
      Properties:
        BucketName: bucket-name
    TableName:
      Type: AWS::DynamoDB::Table
      Properties:
        TableName: table-name
        AttributeDefinitions:
        - AttributeName: id
          AttributeType: S
        KeySchema:
        - AttributeName: id
          KeyType: HASH
        ProvisionedThroughput:
          ReadCapacityUnits: 1
          WriteCapacityUnits: 1

custom:
  s3:
    host: 0.0.0.0
    port: 8000
    directory: /tmp
    noStart: false
  dynamodb:
    start:
      port: 8004
      inMemory: true
      migrate: true
      seed: true
      noStart: false
```
