Open jamesmorgan opened 5 years ago
Delete the folder .dynamodb on your project root folder then run sls dynamodb install again to download dependencies. Ensure it gets to 100%.
Had the same problem on mac os. Reinstalling Java fixed for me.
I have the same problem on Mac OS as well. I tried the current jdk and jdk version 8. Reinstalling didn't help. Any suggestions?
Works with sudo yarn test
. Sorry!
Do you know where the .DynamoDBLocal.jar
file gets downloaded to?
I found the dynamodblocal installed in $TMPDIR
I found the dynamodblocal installed in $TMPDIR
Okay, I can't find it in there unfortunately. With sudo I can't watch
the tests, so I'd like to change the access rights of the .DynamoDBLocal
file but can't find it.
Okay it works now without sudo. No idea why, thanks anyway! :-)
I'm also encountered with this issue and this is the procedure I've done to solve it:
This fixed my issue on my local machine.
@Davidislit
Thanks that works. Originally i used sls dynamodb install
but realised that /DynamoDBLocal_lib was completely empty and so was /third_party_licenses. I then downloaded the jar manually from your link. Copied the extracted contents into my project's /.dynomodb , sudo chmod the .jar and its running now.
Using this on a private library without serverless ... I am on macOS Big Sur ... none of the workarounds work. Throws the same error.
I guess it's an issue of the cloud region/zone, most probably.
%temp%\dynamodb-local on windows.
I solved the problem by deleting the directory /tmp/dynamodb-local
on Linux
For other operating systems, it's the one defined at https://github.com/rynop/dynamodb-local/blob/master/index.js#L17
I am facing the same issue on Mac. Where should I put the jar file?
I have a fairly simple test but when I try to use the package I get a corruption error, any ideas?
Sample code below:
I see it downloading the jar to
./dynamodblocal-bin
Any ideas on this, what am I missing?
thanks in advance