aws-cdk
aws-cdk copied to clipboard
The DynamoDB Global table example does not works
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
It was caused due to cdk version conflicts in node_modules. Just deleted the folder, run npm install again and the bug was gone.