https://pulumi.com logo
Title
f

future-morning-96441

03/16/2021, 11:31 AM
Did anyone manage to successfully use pnpm for a Pulumi app? I'm facing several ``Could not include required dependency '<...someModuleName...>'`...
I'm not sure what exactly is tripping up pulumi. The structure of node_modules, symlinks,...
seems like the package
read-package-tree
is the "culprit". When reading the dependency tree the folder
node_modules/.pnpm
is disregarded. I'm investigating if I could patch read-package-tree to respect pnpm's directory... and then overwrite pulumi's dependency with my patched one. I also saw this pr: https://github.com/pulumi/pulumi/pull/4349 but haven't had any time to dig into the changes, if they could be relevant. Any other ideas?
l

little-cartoon-10569

03/16/2021, 8:39 PM
There might be someone over in #typescript that has come across this?