chrisguttandin / dynamo-db-local

A wrapper around Amazon's DynamoDB Local to start and stop it from Node.js.
MIT License
13 stars 5 forks source link

v9 doesn't work #118

Closed dgadelha closed 7 months ago

dgadelha commented 7 months ago

Hi there and thanks for this lib! The recent v9 doesn't seem to be working:

Error: Unable to access jarfile ../lib/dynamodb_local_2024-04-16/DynamoDBLocal.jar

As far as I could see from the source code, it is referencing the jarfile from ../lib/, but the build code is creating build/node and build/es2019.

The createSpawn command is not considering now that there is a new subfolder inside build/, resulting in java trying to access build/lib/dynamodb_local_2024-04-16 instead of lib/dynamodb_local_2024-04-16

As a workaround, I'm using v8 here

chrisguttandin commented 7 months ago

Thanks a lot for reporting this. Version 9.1.1 should contain the fix.