Skip to content

serverless-offline running forever #259

@skhaz

Description

@skhaz

I use the offline plugin a lot and like it; however, it has a behavior that is detrimental in the next stage of the project where I need to do a debug replay.

What happens is that when I run a command, it executes successfully, but then it keeps running indefinitely until I press Control+C.

I tried running it with NODE_ENV set to test, but it made no difference.

Is this supposed to happen, or is there a bug in my environment/code?

Thank you.

Running:

npx serverless invoke local --stage unstable --function v1-receiver-http-tracker --path sample/tracker-finish-2023-12-12.json

List of plugins:

plugins:
  - serverless-dotenv-plugin
  - serverless-webpack
  - serverless-newrelic-lambda-layers
  - serverless-iam-roles-per-function
  - serverless-offline

Output:

Screenshot 2024-02-25 at 11 10 23

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions