dynamodb-localhost
dynamodb-localhost copied to clipboard
Improve Dynamodb Local started message
What is this?
DynamoDB Local Web Shell has been deprecated and the message at startup is inappropriate and seems to need improvement. So I deleted the unwanted visit messages.
DynamoDB Local Web Shell was deprecated with version 1.16.X and is not available any longer from 1.17.X to latest.
See here: https://stackoverflow.com/questions/70535330/dynamodb-local-web-shell-does-not-load
At amazon/dynamodb-local:1.16.0
With 1.16.0, DynamoDB Local Web Shell worked.
docker run -p 8000:8000 amazon/dynamodb-local:1.16.0

At amazon/dynamodb-local:1.17.0
With 1.17.0, DynamoDB Local Web Shell does not work.
docker run -p 8000:8000 amazon/dynamodb-local:1.17.0

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.