Open lintdeveloper opened 5 years ago
You are doing nothing wrong. I too am having the issue and I think I've figured out the problem. However the best work around would be to revert back to the 0.2.35 version of the package. The newer version they used a redirect to get the installation but the thing is its working with no redirect so pretty much it throws an error.
More specifically I think the issue is in the installer.js where it says if (302 != response...). The problem is right now the link would throw a response status of 200 of OK, and because that's the first conditional statement, the condition throws an error.
@lintdeveloper did you accidentally install serverless-dynamodb-local@1.0.2
because npm thinks that's the latest version of the package.
Try switching to 0.2.37
.
I hope #218 will address this kind of confusions.
This just saved me a ton of time - thank you
Good morning, I am getting Error: Error getting DynamoDb local latest tar.gz location: 301 after doing installing serverless-dynamodb-local. What am I getting wrong, although I have java installed on my PC.
Here is the full description of the error message