Skip to content

Conversation

@jrschumacher
Copy link
Contributor

When running serverless dynamodb install I was getting no error and it seemed to be installing, but I was having an issue with the directory not being correct.

When running `serverless dynamodb install` I was getting no error and it seemed to be installing, but I was having an issue with the directory not being correct.
@a-marcel
Copy link

👍

@a-marcel
Copy link

How do you fixed the issue with the path ? Because this version of dynamodb-localhost always prefix my absolute path with

var absPath = function (relPath) {
    return path.dirname(__filename) + '/' + relPath;
};

Thanks
Marcel

@jrschumacher
Copy link
Contributor Author

@marcelalburg I'm working on a fix for this. I'll post soon.

@a-marcel
Copy link

I figure out a "fix". Use the exact version 0.2.30 of serverless-dynamodb-local and then it works.

"serverless-dynamodb-local": "0.2.30",

But the script will install the files inside a folder in node_modules.

But it works :/

@AshanFernando AshanFernando merged commit 646d749 into 99x:master Aug 22, 2018
@AshanFernando
Copy link
Collaborator

@jrschumacher Thanks for the PR. I have merged it to the main repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants