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
billions-xylophone-85957
09/30/2021, 8:51 PM
it's 100% reproducible after a clean yarn install in CICD, so I'm wondering what am I doing wrong
billions-xylophone-85957
10/01/2021, 8:58 AM
FWIW,
rm yarn.lock && yarn install
fixes it
billions-xylophone-85957
10/01/2021, 8:58 AM
so I guess it was some transitive dependency of something ¯\_(ツ)_/¯ . Javascript is a mess 🙂
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.