-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Simplify dependency management for applets #1245
Copy link
Copy link
Closed
Labels
@aws-cdk/aws-ecsRelated to Amazon Elastic ContainerRelated to Amazon Elastic Container
Description
When trying to use applets in 0.18.1 via a globally installed toolkit, you will get the following error:
Error: The child XXX of Program must be a Stack
This is because when the toolkit is globally installed, the copy of @aws-cdk/cdk (which defines Stack) is different than the one installed in the local node_modules. In JavaScript, instanceof is based on constructor object equality and they have to be the exact same copy in order to align.
Reported by @clareliguori
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-ecsRelated to Amazon Elastic ContainerRelated to Amazon Elastic Container