Doesn't start automatically with Serverless Offline
See original GitHub issueIssue Description
The serverless dynamodb start command can be triggered automatically when using serverless-offline plugin.
In trying to run https://github.com/serverless/examples/tree/master/aws-node-rest-api-with-dynamodb-and-offline as an example, it doesn’t seem like serverless-dynamodb-local is being started by serverless offline hooks.
I see these lines from https://github.com/99xt/serverless-dynamodb-local/blob/v1/index.js#L94:
"before:offline:start:init": this.startHandler.bind(this), "before:offline:start:end": this.endHandler.bind(this),
But they don’t seem to trigger the startHandler.
node v.6.10.0 serverless 1.11.0 serverless-dynamodb-local 0.2.18 serverless-offline 3.8.3
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Doesn't start automatically with Serverless Offline #98 - GitHub
The serverless dynamodb start command can be triggered automatically when using serverless-offline plugin.
Read more >Serverless Offline - Serverless Framework: Plugins
This Serverless plugin emulates AWS λ and API Gateway on your local machine to speed up your development cycles. To do so, it...
Read more >serverless offline start hot reload not working - Stack Overflow
Try using this command to start your server: serverless offline start --reloadHandler. reloadHandler Reloads handler with each request.
Read more >Developing locally with Serverless Offline | Reason SLS
In this tutorial, we are gonna use serverless-offline to create and run Serverless offline. Sample. First, create a new project and generate a...
Read more >serverless-offline/community - Gitter
I run "SLS_DEBUG=* sls offline start". It run in debug mode but any changes made to any of the handler files, it does...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just use
serverless offline start
. Dynamodb is not triggered when using the command withoutstart
.I’ve seen this same issue. To get around it, i was starting dynamodb local manually, then running serverless offline.
Start dynamo manually: sls dynamodb start --migrate
Then start your app: sls offline