-
Notifications
You must be signed in to change notification settings - Fork 233
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
serverless dynamodb install fails #126
Comments
@daviskoh We will look into this issue soon. |
Hi daviskoh, Did you install all the dependencies? Check the link below which might help. |
Dont think installing dependencies directly would seem to have anything to do with this issue as older versions of this pkg installs its dependencies fine and changing that would be an odd requirement for a pkg. It looks like it has more to do w/ perhaps AWS changing the response & request requirements to download the tar.gz file as the Rather it seems to be that when installing serverless-dynamodb-local 1.0.0, it seems to point to http.get(downloadUrl, function (response) {
if (302 != response.statusCode) {
callback(new Error('Error getting DynamoDb local latest tar.gz location: ' + response.statusCode));
}
http.get(response.headers.location, function (redirectResponse) {
var len = parseInt(redirectResponse.headers['content-length'], 10),
bar = new ProgressBar('Downloading dynamodb-local [:bar] :percent :etas', {
complete: '=',
incomplete: ' ',
width: 40,
total: len
});
if (200 != redirectResponse.statusCode) {
throw new Error('Error getting DynamoDb local latest tar.gz location ' + response.headers.location + ': ' + redirectResponse.statusCode);
}
... which differs from 0.0.5 Perhaps this somehow has to do w/ tagging releases? The Also, the |
nvm...
|
Same. |
Solved by |
|
sls dynamodb install fails every time it tries to download the jar. C:\Code\Workspace\cmchecklist\api\node_modules\dynamodb-localhost\dynamodb\installer.js:24 |
Is there an update on this? I'm experiencing the same issue over a year after the original post was made. I don't know what I'm supposed to do in order to move forward. |
Edit config.json, "download_url" change to https. |
this worked for me. I wonder why the hack nobody has ever fixed this. I just lost many hour because of it |
Node version: 6.10.30
Yarn version: 0.27.5
Serverless version: 1.20.2
serverless-dynamodb-local version: 1.0.0
Seems related to previous isses #70 & #65.
Here is the stacktrace:
Is this another issue w/ the dependency https://github.com/99xt/dynamodb-localhost?
The text was updated successfully, but these errors were encountered: