millions-judge-24978
12/27/2019, 7:06 PM@pulumi/pulumi=1.8.1
with typescript has introduced this error for me:
stacks/cluster/api.ts(85,8): error TS2345: Argument of type '{ parent: this; }' is not assignable to parameter of type 'CustomResourceOptions'.
Types of property 'parent' are incompatible.
Type 'this' is not assignable to type 'Resource | undefined'.
Type 'this' is not assignable to type 'Resource'
where this
is a class API extends pulumi.ComponentResource
white-balloon-205
@pulumi/pulumi
being loaded. Can you check you package-lock.json to see if there are two versions? Can you to an upgrade of the older one to force it to pick up 1.8.1 as well?
(That said - it is not expected that we give this error - we work hard to ensure we never break side-by-side compatibility - if you do have another version in your lock file - would be great to know what version it is so we can look into why there was this incompatibility between those two versions).millions-judge-24978
12/27/2019, 7:50 PM❯ yarn list @pulumi/pulumi
yarn list v1.21.1
warning Filtering by arguments is deprecated. Please use the pattern option instead.
├─ @pulumi/kubernetesx@0.1.1
│ └─ @pulumi/pulumi@1.6.1
├─ @pulumi/pulumi@1.7.0
└─ infrastructure@1.0.0
├─ @pulumi/kubernetes@1.4.1
│ └─ @pulumi/pulumi@1.7.0
└─ @pulumi/pulumi@1.8.1
:sparkles: Done in 0.37s.
prehistoric-account-60014
12/27/2019, 9:42 PM@pulumi/kubernetes
have @pulumi/pulumi
as a peer dependency instead of a normal dependency?white-balloon-205
prehistoric-account-60014
12/27/2019, 10:26 PMwhite-balloon-205