Started getting this since this morning: ``` F...
# general
b
Started getting this since this morning:
Copy code
Found incompatible versions of @pulumi/pulumi.  Differing major or minor versions are not supported.
      Version 0.17.28 referenced at node_modules\@pulumi\kubernetes\node_modules\@pulumi\pulumi\package.json
      Version 1.0.0-beta.2 referenced at node_modules\@pulumi\pulumi\package.json
Is this known / expected?
b
lock file FTW
b
Removed, re-ran
npm install
, same warning.
b
I was suggestion other way around 🙂 commit lock file and use it with
npm ci
, this way any changes on pulumi side wont affect you until someone manually refreshes it, but then if there are problems it is easy to revert to a working lock
b
Oh, yeah, I'm always committing
.lock
files, only this happens with new projects. 🙂
b
copy it from old ones 🙂
b
That's not really a solution... 🙂
b
agree, more like a workaround until Pulumi org sorts it out
b
Well, ended up upgrading all
pulumi
packages to
1.0.0-beta.1
.
w
The latest CLI release has a change that will avoid warning on this combination of packages. If you do need to use a mix of
0.x
and
1.0.0-beta.x
versions - you can do so with the latest CLI.
l
@pulumi/random has no 1.0.0-beta.x yet 😞