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

Not compatible with Windows

Open triqi opened this issue 6 years ago • 4 comments

Issue

Using this library under Windows (cmd) does not spawn the DynamoDB java process.

Possible solution

  1. Passing in the shell: true option into child_process.spawn would execute the command in a shell.
  2. Replace child_process.spawn with a cross platform compatible shell library such as shelljs.

triqi avatar Dec 16 '18 01:12 triqi

Doesn't work on windows as well. sls offline start fails

MikhailSemichev avatar Feb 07 '19 16:02 MikhailSemichev

It seems to work fine in powershell.

stefancruz avatar Feb 17 '19 19:02 stefancruz

I am running this fine on windows, all I had to do was pass in a callback function to install. dynamodbLocal.install( () => {} );

RyanFelt avatar Feb 28 '19 04:02 RyanFelt

dynamodbLocal.install( () => {} );

I did a pull request to update the documentation regarding this issue, but it still open.

https://github.com/99xt/dynamodb-localhost/pull/36

stefancruz avatar Feb 28 '19 10:02 stefancruz