localstack / localstack/serverless-localstack

Stuck on Need a faster logging experience when using serverless-stack with serverless-esbuild

Open
#248 3 comments 2 reactions 0 assignees View on GitHub
status: backlog
Dominant language
JavaScript
Stars
542
Forks
92
PR merge metrics
No merged PRs in 30d

Description

After running `serverless deploy`, the lambda is indeed deployed to `LocalStack` but the process is still running and stuck on:

```
Need a faster logging experience than CloudWatch? Try our Dev Mode in Console: run "serverless dev"
```

How to reproduce:

serverless.yml
```
service: serverless-localstack

frameworkVersion: "3"

provider:
name: aws
runtime: nodejs18.x

plugins:
- serverless-esbuild
- serverless-localstack

functions:
hello:
handler: handler.hello
```

handler.ts
```
export const hello = async (event) => {
return {
statusCode: 200,
body: JSON.stringify({
message: "Go Serverless",
input: event,
}),
};
};

```

Contributor guide

Open the contributing guide

Research direction

Start with the serverless.yml reproduction and run serverless deploy using the listed serverless-esbuild and serverless-localstack plugins. Trace why deployment reaches LocalStack but the process remains at the displayed logging message; done means the deployment completes and the command exits normally.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, node.js, typescript
Domain
backend, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.