jest-dynamodb
jest-dynamodb copied to clipboard
Error: Invalid or corrupt jarfile DynamoDBLocal.jar
All of a sudden, I am getting a Error: Invalid or corrupt jarfile DynamoDBLocal.jar
error when running yarn jest -- <test-file-path>
.
After reinstalling installing Dynamodb, test pass, but I need to run java -Djava.library.path=./DynamoDBLocal_lib -jar DynamoDBLocal.jar -sharedDb
in another process.
Please advise, this behavior is new; my setup was working perfectly up until right now.
I am having the same issue. For me the trigger seems to be system upgrade.
+1
I also have this problem. Not sure why it happened.
I have solved the issue deleting the folder /tmp/dynamodb-local
https://github.com/rynop/dynamodb-local/issues/30#issuecomment-2061344434