Hey sorry to ask a dumb question, but I’m sure it ...
# general
b
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
Did you import
@pulumi/pulumi
at the new version?
b
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
What version is in your package-lock.json?
b
aha, 0.12.1
thanks
sorry, should have thought of that myself. Got the commandline version conflated with the lib version
w
Yeah - unfortunately we currently ship those together, which makes it a little less clear that they are versioned independently for users.
b
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