"sls dynamodb start" throws spawn java ENOENT
Apparently there is a bug with version [email protected].
issue on github
I've downgraded to version 0.2.30 by using
npm uninstall serverless-dynamodb-local
sls dynamodb uninstall
npm install [email protected]
sls dynamodb install
Following the advice on serverless-dynamodb-local/issues/195, I just ran sls dynamodb install --localPath ./bin
and Dynamodb installed correctly. Running serverless offline start
then worked without error.