99x/dynamodb-localhost

Not compatible with Windows

triqi opened this issue · 4 comments

triqi commented

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.

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

It seems to work fine in powershell.

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

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

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

#36