Open triqi opened 5 years ago
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.
Issue
Using this library under Windows (cmd) does not spawn the DynamoDB java process.
Possible solution
shell: true
option intochild_process.spawn
would execute the command in a shell.child_process.spawn
with a cross platform compatible shell library such asshelljs
.