Constant, reproducible error on `pulumi up`
# general
e
Constant, reproducible error on
pulumi up
Copy code
Diagnostics:
  pulumi:pulumi:Stack (eks-cluster-online-sandbox-vpc-0d18addcc5815ae23):
    error: Running program '/home/tsi/eshamay/git/mustang/sdp-mustang-terraform/pulumi/eks-cluster' failed with an unhandled exception:
    error: /home/tsi/eshamay/git/mustang/sdp-mustang-terraform/pulumi/eks-cluster/node_modules/got/source/create.js:61
        got.stream = (url, options) => got(url, {...options, stream: true});
                                                 ^^^
    SyntaxError: Unexpected token ...
        at createScript (vm.js:56:10)
        at Object.runInThisContext (vm.js:97:10)
        at Module._compile (module.js:542:28)
        at Object.Module._extensions..js (module.js:579:10)
        at Module.load (module.js:487:32)
        at tryModuleLoad (module.js:446:12)
        at Function.Module._load (module.js:438:3)
        at Module.require (module.js:497:17)
        at require (internal/module.js:20:19)
        at Object.<anonymous> (/home/tsi/eshamay/git/mustang/sdp-mustang-terraform/pulumi/eks-cluster/node_modules/got/source/index.js:3:16)
    error: an unhandled error occurred: Program exited with non-zero exit code: 1
pulumi refresh
worked fine just before
i
This is https://github.com/pulumi/pulumi-kubernetes/issues/372 - the workaround is to update your version of Node to Node 8 or above
e
okay, thanks for the workaround, I'll try it
This is a bit of a big deal to get all our hosts upgraded, and we'll have to do a lot of testing around this to see if it's even possible. Is this really a requirement? It was working earlier today with node 6
w
We’ll see about getting this fixed today so that the kubernetes library no longer requires Node 8.
g
@early-musician-41645 This is fixed in the current
dev
release. We'll work on getting a formal release cut soon.
e
thanks, trying it out