serverless dynamodb install fails
See original GitHub issueNode 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 https://github.com/99xt/serverless-dynamodb-local/issues/70 & https://github.com/99xt/serverless-dynamodb-local/issues/65.
Here is the stacktrace:
$ sls dynamodb install
Error: Error getting DynamoDb local latest tar.gz location: 307
at ClientRequest.<anonymous> (/Users/daviskoh/project/node_modules/dynamodb-localhost/dynamodb/installer.js:14:26)
at ClientRequest.g (events.js:292:16)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:473:21)
at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23)
at Socket.socketOnData (_http_client.js:362:20)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Socket.Readable.push (_stream_readable.js:134:10)
at TCP.onread (net.js:547:20)
_http_client.js:54
throw new Error('Protocol "' + protocol + '" not supported. ' +
^
Error: Protocol "https:" not supported. Expected "http:"
at new ClientRequest (_http_client.js:54:11)
at Object.exports.request (http.js:31:10)
at Object.exports.get (http.js:35:21)
at ClientRequest.<anonymous> (/Users/daviskoh/project/node_modules/dynamodb-localhost/dynamodb/installer.js:16:18)
at ClientRequest.g (events.js:292:16)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:473:21)
at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23)
at Socket.socketOnData (_http_client.js:362:20)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Socket.Readable.push (_stream_readable.js:134:10)
at TCP.onread (net.js:547:20)
error Command failed with exit code 1.
Is this another issue w/ the dependency https://github.com/99xt/dynamodb-localhost?
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
[Solved] sls dynamodb install not working - Dynobase
Run "serverless help" for a list of all available commands. is pretty known problem. This error originates from serverless-dynamodb-local Serverless' Framework ...
Read more >serverless dynamodb install fails · Issue #126 - GitHub
Here is the stacktrace: $ sls dynamodb install Error: Error getting DynamoDb local latest tar.gz location: 307 at ClientRequest.<anonymous> (/ ...
Read more >serverless dynamodb start --migrate error - Stack Overflow
You need to follow this steps to fix it: Navigate to your .dynamoDB folder on your terminal and run the following command. wget...
Read more >99xt/serverless-dynamodb-local - Gitter
Hi there! Troubles during migration. My Dynamodb is up & running locally. Dynamodb is already installed on path! Dynamodb Local Started, Visit: http: ......
Read more >Error: spawn serverless ENOENT
Error: spawn serverless ENOENT Using the below ve… ... dynamodb uninstall npm install serverless-dynamodb-local@0.2.30 sls dynamodb install.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Edit config.json, “download_url” change to https.
Solved by
yarn add serverless-dynamodb-local@0.2.25