[HELP] Serverless invoke does not start plugins

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