https://pulumi.com logo
#general
Title
# general
b

busy-pizza-73563

08/14/2019, 1:06 PM
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

best-xylophone-83824

08/14/2019, 1:07 PM
lock file FTW
b

busy-pizza-73563

08/14/2019, 1:12 PM
Removed, re-ran
npm install
, same warning.
b

best-xylophone-83824

08/14/2019, 1:13 PM
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

busy-pizza-73563

08/14/2019, 1:15 PM
Oh, yeah, I'm always committing
.lock
files, only this happens with new projects. 🙂
b

best-xylophone-83824

08/14/2019, 1:15 PM
copy it from old ones 🙂
b

busy-pizza-73563

08/14/2019, 1:15 PM
That's not really a solution... 🙂
b

best-xylophone-83824

08/14/2019, 1:16 PM
agree, more like a workaround until Pulumi org sorts it out
b

busy-pizza-73563

08/14/2019, 1:17 PM
Well, ended up upgrading all
pulumi
packages to
1.0.0-beta.1
.
w

white-balloon-205

08/14/2019, 1:36 PM
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

little-energy-64187

08/14/2019, 4:30 PM
@pulumi/random has no 1.0.0-beta.x yet 😞