Argument of type 'this' is not assignable to parameter of type 'Construct' #24628
-
Argument of type 'this' is not assignable to parameter of type 'Construct'. Following is the package.json |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
What code is in your CDK app which produces this issue? This type of issue typically occurs when there are mismatched packages when using CDK v1. Your package.json appears to be using the same version for every cdk package, but I recommend completely reinstalling your packages to make sure. If that doesn't work, please post the code snippet which reproduces this issue. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
What code is in your CDK app which produces this issue?
This type of issue typically occurs when there are mismatched packages when using CDK v1. Your package.json appears to be using the same version for every cdk package, but I recommend completely reinstalling your packages to make sure. If that doesn't work, please post the code snippet which reproduces this issue. Thanks!