99x / dynamodb-localhost

Dynamodb localhost runner for development and testing
MIT License
35 stars 92 forks source link

Not compatible with Windows #33

Open triqi opened 5 years ago

triqi commented 5 years ago

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.
MikhailSemichev commented 5 years ago

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

stefancruz commented 5 years ago

It seems to work fine in powershell.

RyanFelt commented 5 years ago

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

stefancruz commented 5 years ago

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