little-cartoon-10569
08/11/2020, 2:26 AMType 'OutputInstance<number>' is missing the following properties from type 'OutputInstance<number>': apply, getand
'import("/pulumi/projects/node_modules/@pulumi/pulumi/index").OutputInstance<number>' is not assignable to type 'import("/pulumi/projects/node_modules/@pulumi/pulumi/output").OutputInstance<number>'.I deleted my node_modules and ran
npm install
and npm upgrade
. Any other suggestions?faint-table-42725
08/11/2020, 2:48 AMpackage-lock.json
to see if you’re bringing in two copies of @pulumi/pulumi
somehow?little-cartoon-10569
08/11/2020, 3:03 AMfaint-table-42725
08/11/2020, 3:24 AMlittle-cartoon-10569
08/11/2020, 3:26 AMpulumi preview
, it installs plugin aws 2.9.1.
Where is this configured? I want to rule out that this is related to the mismatched OutputInstance definitions...faint-table-42725
08/11/2020, 4:08 AM@pulumi/aws
packagelittle-cartoon-10569
08/11/2020, 4:10 AMfaint-table-42725
08/11/2020, 4:36 AM@pulumi/aws
does depend on @pulumi/pulumi
but the version is marked as ^2.0.0
so it should pull in the same version as the one you’ve explicitly declared in your package.json
typically@pulumi/awsx
with a mismatched version of @pulumi/aws
but recent versions of @pulumi/awsx
switched to using peer dependencies to try to avoid that from happeninglittle-cartoon-10569
08/11/2020, 4:40 AMfaint-table-42725
08/11/2020, 4:47 AM/pulumi/projects/node_modules/@pulumi/pulumi
which seems to be not project-specificlittle-cartoon-10569
08/11/2020, 4:49 AM