Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

serverless-offline running forever #259

Open
skhaz opened this issue Feb 25, 2024 · 0 comments
Open

serverless-offline running forever #259

skhaz opened this issue Feb 25, 2024 · 0 comments

Comments

@skhaz
Copy link

skhaz commented Feb 25, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant