aws-cdk icon indicating copy to clipboard operation
aws-cdk copied to clipboard

The DynamoDB Global table example does not works

Open beuleal opened this issue 7 years ago • 1 comments

Documentation (https://docs.aws.amazon.com/cdk/api/latest/docs/aws-dynamodb-global-readme.html).

The minimal deployable Global DynamoDB tables definition does not works, and throw the following error:

Argument of type 'App' is not assignable to parameter of type 'Construct'.

Reproduction Steps

Copy the example and try to run.

Error Log

Argument of type 'App' is not assignable to parameter of type 'Construct'.

Environment

  • CLI Version :aws-cli/1.16.106
  • Framework Version: 1.13.1 (build 96cfc63)
  • OS : Windows :(
  • Language : Typescript

Other


This is :bug: Bug Report

beuleal avatar Oct 18 '19 08:10 beuleal

It was caused due to cdk version conflicts in node_modules. Just deleted the folder, run npm install again and the bug was gone.

beuleal avatar Oct 18 '19 09:10 beuleal