Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install dynamodb "sls dynamodb install" #5426

Closed
arsenal120496 opened this issue Oct 29, 2018 · 6 comments
Closed

Can't install dynamodb "sls dynamodb install" #5426

arsenal120496 opened this issue Oct 29, 2018 · 6 comments
Labels

Comments

@arsenal120496
Copy link

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

Serverless command "dynamodb" not found. Did you mean "deploy"? 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 -----------------------------
OS: linux
Node Version: 11.0.0
Serverless Version: 1.32.0

  • I cant install dynamodb through sls command. Anybody help? I add plugins into serverless.yml already.

plugins:

  • serverless-dynamodb-local
  • serverless-offline
@shanehandley
Copy link

Hi @arsenal120496, if you are having trouble with serverless-dynamodb-local, they have a repo for support here: https://github.com/99xt/serverless-dynamodb-local/issues

But it looks as though the installation command npm install --save serverless-dynamodb-local was not performed or failed.

@pmuens
Copy link
Contributor

pmuens commented Jan 16, 2019

Thanks for opening @arsenal120496 👍

Looks like this is an issue with the serverless-dynamodb-local plugin. Please open up an issue in their repository.

@pmuens pmuens closed this as completed Jan 16, 2019
@pmuens pmuens added the bug label Jan 16, 2019
@jackiemunroe
Copy link

I had this issue and just solved it. For posterity, I am putting it here, since this is where the google sent me when I searched for an answer. Installing the plugin with the following command resolved the issue for me:
serverless plugin install --name serverless-dynamodb-local

@majindageta
Copy link

I had this issue too and was a very trivial problem:
the yml file should be called serverless.yml unless you specify a different name during the "sls dynamodb install" command.

@oussamabouchikhi
Copy link

I had this issue and just solved it. For posterity, I am putting it here, since this is where the google sent me when I searched for an answer. Installing the plugin with the following command resolved the issue for me:
serverless plugin install --name serverless-dynamodb-local

And how to run dynamodb?

I tried serverless-dynamodb-local start and dynamodb start but both didn't work

@mdrijwan
Copy link

mdrijwan commented Jan 3, 2022

The solution is you either install it for serverless.yml:

serverless plugin install --name serverless-dynamodb-local

or for a different yml file like serverless.local.yml:

serverless dynamodb install -c serverless.local.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants