early-musician-41645
01/31/2019, 5:15 PM{
"name": "eks-cluster",
"devDependencies": {
"@types/node": "latest"
},
"dependencies": {
"@pulumi/aws": "0.16.7",
"@pulumi/eks": "0.16.6",
"@pulumi/kubernetes": "0.19.0",
"@pulumi/pulumi": "0.16.12"
}
}
white-balloon-205
dev
versions perviously? I'm not aware of any issue that would lead to the failure you saw above.busy-umbrella-36067
01/31/2019, 5:23 PM0.16.11
Packages:
- "@pulumi/aws": "^0.16.3",
- "@pulumi/docker": "^0.16.2",
- "@pulumi/eks": "latest",
- "@pulumi/kubernetes": "^0.18.0",
- "@pulumi/pulumi": "^0.16.7",
early-musician-41645
01/31/2019, 6:21 PMbusy-umbrella-36067
01/31/2019, 8:00 PM"dependencies": {
"@Pulumi Team/aws": "^0.16.7",
"@Pulumi Team/docker": "^0.16.4",
"@Pulumi Team/eks": "^0.16.6",
"@Pulumi Team/kubernetes": "^0.19.0",
"@Pulumi Team/pulumi": "^0.16.13",
TypeError: resproto.InvokeRequest is not a constructor
white-balloon-205
bitter-oil-46081
01/31/2019, 8:39 PM@pulumi/pulumi
(should be on NPM now) which should address this issue.busy-umbrella-36067
01/31/2019, 8:50 PM0.16.12
and the following libs
"dependencies": {
"@pulumi/aws": "^0.16.7",
"@pulumi/docker": "^0.16.4",
"@pulumi/eks": "^0.16.6",
"@pulumi/kubernetes": "^0.19.0",
"@pulumi/pulumi": "^0.16.14",
error: TypeError: resproto.InvokeRequest is not a constructor
at Object.<anonymous> (/home/azamat/git/shapeshift/cointainers/node_modules/@pulumi/aws/node_modules/@pulumi/pulumi/runtime/invoke.js:58:25)
at Generator.next (<anonymous>)
at fulfilled (/home/azamat/git/shapeshift/cointainers/node_modules/@pulumi/aws/node_modules/@pulumi/pulumi/runtime/invoke.js:17:58)
at <anonymous>
error: TypeError: resproto.InvokeRequest is not a constructor
at Object.<anonymous> (/home/azamat/git/shapeshift/cointainers/node_modules/@pulumi/aws/node_modules/@pulumi/pulumi/runtime/invoke.js:58:25)
at Generator.next (<anonymous>)
at fulfilled (/home/azamat/git/shapeshift/cointainers/node_modules/@pulumi/aws/node_modules/@pulumi/pulumi/runtime/invoke.js:17:58)
at <anonymous>
bitter-oil-46081
01/31/2019, 9:03 PM/home/azamat/git/shapeshift/cointainers/node_modules/@pulumi/aws/node_modules/@pulumi/pulumi/runtime/invoke.js:58:25
implies that @pulumi/aws
got its own copy of @pulumi/pulumi
for some reason.
Could you tell me a few things?
1. What version of @pulumi/aws
ended up being installed (the package.json in /home/azamat/git/shapeshift/cointainers/node_modules/@pulumi/aws should have this)
2. What version of @pulumi/pulumi
got installed for @pulumi/aws
(the package.json in /home/azamat/git/shapeshift/cointainers/node_modules/@pulumi/aws/node_modules/@pulumi/pulumi should have this)
3. Could you share with me your yarn.lock or package-lock.json file?busy-umbrella-36067
01/31/2019, 9:04 PM~/.cache
directory and now I'm getting different errors 😛Previewing update (XXXXXXXX):
error: could not load plugin for aws provider 'urn:pulumi:cointainers-dev::cointainers::pulumi:providers:aws::corpAws': could not read plugin [/home/azamat/.pulumi/plugins/resource-aws-v0.16.8-dev.1548902955+g43842090.tmp077556783/pulumi-resource-aws] stdout: EOF
bitter-oil-46081
01/31/2019, 9:14 PMrm -rf /home/azamat/.pulumi/plugins/resource-aws-v0.16.8-dev.1548902955+g43842090.tmp077556783
and then run pulumi plugin install resource aws v0.16.8-dev.1548902955+g43842090
, it will install that plugin again. The .tmp in the filename makes me think this is related to this issue: https://github.com/pulumi/pulumi/issues/1353. We should be ignoring these .tmp folders (the CLI downloads plugins there and then moves them into their correct location), it should never try to use something from this folder but we have some issue here.busy-umbrella-36067
01/31/2019, 9:18 PM@pulumi/pulumi
@pulumi/pulumi
inside of @pulumi.aws
is 0.16.13
yarn.lock
file locally that was causing this.