aws-samples/aws-sdk-js-tests

yarn start:web throws error `AWS.DynamoDB is not a constructor`

Closed this issue · 0 comments

Describe the bug
yarn start:web throws error AWS.DynamoDB is not a constructor

To Reproduce

  • Follow steps in README.
  • Run yarn start:web

Expected behavior
The output of listTables is shown in the browser

Screenshots
The following error is thrown in Console.log:

Uncaught (in promise) TypeError: AWS.DynamoDB is not a constructor
    at getV2Response (utils.js:10)
    at getV2BrowserResponse (utils.js:26)
    at componentV2 (index.js:24)
    at index.js:41
    at index.js:43

Additional context
This error did not appear prior to PR #94