https://pulumi.com logo
b

bitter-island-28909

01/22/2019, 8:28 PM
Hey sorry to ask a dumb question, but I’m sure it has a quick answer. I am on Pulumi v0.16.11, and it looks like the
pulumi.concat
and
pulumi.interpolate
functions are not defined? Am I missing something obvious?
w

white-balloon-205

01/22/2019, 8:29 PM
Did you import
@pulumi/pulumi
at the new version?
b

bitter-island-28909

01/22/2019, 8:29 PM
I did it like so:
const pulumi = require("@pulumi/pulumi");
sorry, my weak JavaScript might be betraying me
package.json has pulumi defined to be “latest”
w

white-balloon-205

01/22/2019, 8:30 PM
What version is in your package-lock.json?
b

bitter-island-28909

01/22/2019, 8:30 PM
aha, 0.12.1
thanks
sorry, should have thought of that myself. Got the commandline version conflated with the lib version
w

white-balloon-205

01/22/2019, 8:31 PM
Yeah - unfortunately we currently ship those together, which makes it a little less clear that they are versioned independently for users.
b

bitter-island-28909

01/22/2019, 8:45 PM
Ok I am very sorry to be a bother, but I can’t figure out how to make it upgrade. Specifying the new version in
package.json
and then running
npm install
gives:
Copy code
npm WARN registry Using stale data from <https://npmjs.pulumi.com/> because the host is inaccessible -- are you offline?
npm WARN registry Using stale package data from <https://npmjs.pulumi.com/> due to a request error during revalidation.
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @pulumi/pulumi@0.16.11