hi all, how do you go about upgrading the `@pulumi...
# typescript
b
hi all, how do you go about upgrading the
@pulumi/pulumi
with your yarns and npms? I just tried to upgrade 3.10 -> 3.13.2 and it somehow broke
runtime.registerStackTransformation
so I'm wondering if there is a non-obvious way to do so
l
This happened to one of our devs yesterday, but not to any of the rest of us. It was caused by a workaround we use for building lambdas. We have a symlink from the monorepo's package.json to each project that builds lambdas, and during the build, a separate node_modules is created in each of those folders. The dev had to remove all the node_modules folders and rebuild. This is the first time this happened in many months. Normally you don't need to worry about it.
b
it's 100% reproducible after a clean yarn install in CICD, so I'm wondering what am I doing wrong
FWIW,
rm yarn.lock && yarn install
fixes it
so I guess it was some transitive dependency of something ¯\_(ツ)_/¯ . Javascript is a mess 🙂