Git Product home page Git Product logo

Comments (15)

henhal avatar henhal commented on September 23, 2024 8

@helenabenatar, @VirtualVirtuoso, @RyanCCollins, @terozio, @ikeller96, @StampixSMO, @AndrewKeig, @patricksalazar

Hi all,
Since we seem stuck on the maintainer trying to obtain credentials I published my forks of the two required modules so that people can move on with their business:

@henhal/serverless-dynamodb-local
@henhal/dynamodb-localhost

There are two ways to use the forks:

1. Reference my forked package on NPM

Replace your devDependency to serverless-dynamodb-local in package.json with:

"@henhal/serverless-dynamodb-local": "^0.3.0"

NOTE Since serverless references plugins by name declared in package.json, this also means you must replace the plugin name in serverless.yml:

plugins:
  - "@henhal/serverless-dynamodb-local"

Note also that using @ as the first character in a yaml string requires quotes to be present as well.

2. Reference fork directly via git+ssh URI

"serverless-dynamodb-local": "git+ssh://[email protected]:henhal/serverless-dynamodb-local.git#v1"

This fetches the serverless-dynamodb-local module directly from my fork on github, which in turns uses the forked version of dynamodb-localhost which I've published to NPM as @henhal/dynamodb-localhost. Since you may still name the plugin serverless-dynamodb-local in package.json, no need to rename the plugin in serverless.yml .

I hope the maintainers are OK with me doing this; I mean no disrespect but lots of people have been waiting for nearly 7 months for a version to be published now.

from serverless-dynamodb-local.

henhal avatar henhal commented on September 23, 2024 4

This module uses dynamodb-localhost to start the DynamoDB local Java program.
I created an issue for adding support for dockerized DynamoDB, which resolves the problem: 99x/dynamodb-localhost#63
I also posted an early PR that fixes it. Feel free to vote on it if this would be a good setup for you too @AndrewKeig @patricksalazar @StampixSMO

from serverless-dynamodb-local.

AshanFernando avatar AshanFernando commented on September 23, 2024 4

@henhal I can merge the PRs, but let me check who has the credentials for publishing to NPM and sort it out.

from serverless-dynamodb-local.

RyanCCollins avatar RyanCCollins commented on September 23, 2024 3

@henhal I can merge the PRs, but let me check who has the credentials for publishing to NPM and sort it out.

Bumping this since I am stuck by the same issue. Appreciate you!

from serverless-dynamodb-local.

terozio avatar terozio commented on September 23, 2024 1

I think the necessary fix has been implemented in dynamodb-localhost with 99x/dynamodb-localhost#64

Is there anyone maintaining this project and willing to make a new release to get the necessary changes included? Now the readme of this project as been already updated to indicate that docker support is in place, but thats not the case for the latest version available from npm.

from serverless-dynamodb-local.

terozio avatar terozio commented on September 23, 2024 1

@AshanFernando would it be possible to create a new release for this?

from serverless-dynamodb-local.

henhal avatar henhal commented on September 23, 2024 1

@VirtualVirtuoso It's a shame this pair of PRs seem to have got stuck. All that's needed is that dynamodb-localhost @0.0.10 is published so that I - or a maintainer - can make a PR to use that version from this repo. @AshanFernando I think you are the maintainer of dynamodb-localhost, would you mind publishing it so that we can proceed?

In the meantime, could a workaround for you be to manually start DynamoDB directly using docker from the command line and then use nostart: true for the plugin settings to prevent the plugin from attempting to use Java? Then you can at least use the functionality to create tables etc using the plugin while waiting for this to be released.

from serverless-dynamodb-local.

AndrewKeig avatar AndrewKeig commented on September 23, 2024

👍

from serverless-dynamodb-local.

patricksalazar avatar patricksalazar commented on September 23, 2024

+1

from serverless-dynamodb-local.

StampixSMO avatar StampixSMO commented on September 23, 2024

Can confirm this issue

from serverless-dynamodb-local.

ikeller96 avatar ikeller96 commented on September 23, 2024

I'm having the same issue. Are there any plans to provide the missing SQLite libraries in the future or do I just need to start using docker to test locally?

from serverless-dynamodb-local.

VirtualVirtuoso avatar VirtualVirtuoso commented on September 23, 2024

Same issue here, when running via Docker or Java. Been searching for a workaround for the past three hours, but unfortunately nothing has come up. If anyone knows a workaround, or a fix, it'd be really appreciated.

from serverless-dynamodb-local.

helenabenatar avatar helenabenatar commented on September 23, 2024

Any update on this? Currently stuck on this issue.

from serverless-dynamodb-local.

marcodali avatar marcodali commented on September 23, 2024

I have a M1 machine and this package work perfect with the option inMemory.
I complement this package by using also NoSQL Workbench for data UI visualization.

from serverless-dynamodb-local.

AndrewKeig avatar AndrewKeig commented on September 23, 2024

👍

I recently installed this and all works fine, well done all..

from serverless-dynamodb-local.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.