dynamodb-localhost icon indicating copy to clipboard operation
dynamodb-localhost copied to clipboard

Fix for windows users using this library via 'serverless-dynamodb-local'

Open martineca opened this issue 6 years ago • 4 comments

Adding 'shell:true' to the starter.js file. This will fix issues that are affecting windows user when they are trying to start local dynamodb via the serverless-dynamodb-local package. The process starts and immediately shuts down.

martineca avatar May 16 '19 18:05 martineca

Thanks @martineca for the PR. I'm also tagging @mjzone to test this in a Mac to see whether it has an effect there as well. Will merge once I get the verification.

AshanFernando avatar May 18 '19 05:05 AshanFernando

It turns out that this change would cause issues on linux. I will investigate further.

martineca avatar May 22 '19 15:05 martineca

@martineca Let us know if you come across a fix for Linux. @mjzone tested on Mac and it seems to work fine there.

AshanFernando avatar May 22 '19 17:05 AshanFernando

@AshanFernando by using detached:true instead of shell:true the fix should work on all platforms now.

martineca avatar May 25 '19 11:05 martineca