Closed vaartio closed 1 month ago
Hi @vaartio , thanks for reporting, and apologies for the delay on this one.
The aws-cdk
dependency has been removed on purpose in the past, to avoid version mismatches and confusion if the globally installed CDK version differs from the: https://github.com/localstack/aws-cdk-local/issues/3 This allows users to install arbitrary versions of aws-cdk
under the covers.
The recommended way of installing cdklocal
, as per the README, would be the following:
npm install -g aws-cdk-local aws-cdk
Does this installation mechanism work for you? I'm not too familiar with pnp
, but shouldn't it be possible to install aws-cdk
alongside aws-cdk-local
?
Can you please elaborate on the problem you're seeing - ideally, if you could share a sequence of commands or a reproducible example, that would be great. Thanks for your help!
Hi @vaartio! We just wanted to follow up on our last message to see whether your issue has been resolved?
Closing this issue due to inactivity.
Can you add
aws-cdk
as a dependency in package.json? In some environments, especially withpnp
and multiple yarn workspaces, it causes problems if you can't installaws-cdk
globally.