is there a way to set the package manager used by ...
# typescript
b
is there a way to set the package manager used by the pulumi cli? I prefer to use
pnpm
rather than
npm
or ``yarn``
w
We recently added the ability to use yarn instead of npm - but it looks like we hardcored yarn there instead of allowing and alternative command to run - https://github.com/pulumi/pulumi/pull/3556. Could you open an issue with this request?
b
let me have a look at what was done for that and maybe I can contrib back
👍 1
turns out pulumi relies on some transitive dependencies in order to run
up
so some resources can’t be found. I’ll gather some information and create an issue
s
@bored-jackal-93148 How does it turn out for you using Pulumi with
pnpm
? Last time I tried this (month ago), I got stuck that
pnpm
can’t build/download the needed
grpc
dependency. Maybe that changed? I would prefer to use
pnpm
as well. That will download a Pulumi provider binaries one time wherever I’ll use it locally. Besides the clearly & reliably resolved dependencies.
b
Ran into issues with a reliance on translative dependencies when building lambda functions that I haven’t been able to resolve.
s
@bored-jackal-93148 Oh, ok. Can you give some details? I think the
grpc
issue I experienced can be solved otherways. I’ll try to use
pnpm
again now 🙂