Git Product home page Git Product logo

Comments (8)

eduard93 avatar eduard93 commented on June 16, 2024 2

Plugin also must be installed globally:

npm install -g serverless-dynamodb-local

from serverless-dynamodb-local.

majindageta avatar majindageta commented on June 16, 2024 1

I had the same issue and was a trivial answer: serverless/serverless#5426 (comment)
just rename the yml file to "serverless.yml"

from serverless-dynamodb-local.

eduard93 avatar eduard93 commented on June 16, 2024

Same on wsl2

from serverless-dynamodb-local.

eduard93 avatar eduard93 commented on June 16, 2024

Same in docker

root@ide:~# cd localsrc/
root@ide:~/localsrc# serverless plugin install --name serverless-dynamodb-local
Serverless: Running "serverless" installed locally (in service node_modules)
Serverless: Installing plugin "serverless-dynamodb-local@latest" (this might take a few seconds...)
Serverless: Successfully installed "serverless-dynamodb-local@latest"
root@ide:~/localsrc# sls dynamodb install
Serverless: Running "serverless" installed locally (in service node_modules)

  Serverless Error ---------------------------------------

  Serverless command "dynamodb install" not found. Run "serverless help" for a list of all available commands.

  Get Support --------------------------------------------
     Docs:          docs.serverless.com
     Bugs:          github.com/serverless/serverless/issues
     Issues:        forum.serverless.com

  Your Environment Information ---------------------------
     Operating System:          linux
     Node Version:              15.14.0
     Framework Version:         1.71.3
     Plugin Version:            3.8.4
     SDK Version:               2.3.2
     Components Version:        2.30.11

root@ide:~/localsrc#

from serverless-dynamodb-local.

hsteckylf avatar hsteckylf commented on June 16, 2024

Looking for a solution as I am running into the same issue. Tried all the above as well with no luck yet.

from serverless-dynamodb-local.

rharper12 avatar rharper12 commented on June 16, 2024

Hey guys, I was having the exact same issue. What I had to do was downgrade my serverless version to an older version and then it worked for me. You don't have to go back this far but I did.

$ sudo npm install -g [email protected]
$ serverless -v

Framework Core: 1.72.0
Plugin: 3.8.4
SDK: 2.3.2
Components: 2.34.9

from serverless-dynamodb-local.

eduard93 avatar eduard93 commented on June 16, 2024

Also does not help on linux. Tried downgrade, local and global reinstall, no dice.

from serverless-dynamodb-local.

rashikaHali avatar rashikaHali commented on June 16, 2024

This package needs serverless 1.x version for sls dynamodb install command to work and Java Runtime Engine (JRE) version 6.x or newer so you can do: npm install -g [email protected] or yarn global add [email protected]

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.