dynamodb-localhost icon indicating copy to clipboard operation
dynamodb-localhost copied to clipboard

Fixing https redirect

Open dscdac opened this issue 3 years ago • 1 comments

The latest link for the AWS dynamodb_local jar returns a redirect to a https URL. This causes the installation script to fail because it require("http"). Using require("https") to solve this issue.

dscdac avatar Apr 25 '22 12:04 dscdac

FYI: This package (dynamodb-localhost) doesn't appear to be maintained, with no new releases to NPM in over 4 years.

Solution: You can use aws-dynamodb-local, a maintained fork, instead. (Disclaimer: I am a contributor to this fork). It is a drop-in replacement for this package, and is updated to fix this bug. If you're using serverless-dynamodb-local, you can also replace that with it's equivalent serverless-dynamodb.

Migrating takes about 2 minutes, with a full guide in the README. Of course, it's all still open-source and MIT licensed. Ownership of this new package sits with a registered charity, that is committed to maintaining the package into the future and is open to contributions from the community.

domdomegg avatar Jul 04 '23 00:07 domdomegg