Oh, you did seriously try it!
I'd be happy finding a way for the pulumi program to be able to find the @pulumi/* packages (i am already refactoring inlined lambdas as separate packages).
finding the Pulumi plugins is iterating over the
node_modules
folder in Go code to find the plugin binaries.
This is definitely blocking :(
clever-painter-96148
11/02/2021, 10:26 PM
The docs says pulumi can be installed with yarn. This leads people to believe that it works with yarn. And people usually switch from npm to yarn to benefit from hoisting. But as soon as they try to hoist packages (or PnP), it doesn't work. Pulumi only works with the node-modules linker and when disabling hoisting (for the whole monorepo or at least for the package that contains the pulumi program).
I'd be happy to provide a PR to help others, but I am not sure when this belongs.
p
proud-pizza-80589
11/03/2021, 7:36 AM
we use yarn 3 as well, but use the node_modules fallback option over pnp. That works, never gotten pnp to work
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.