https://pulumi.com logo
#typescript
Title
# typescript
b

bored-jackal-93148

12/08/2019, 11:44 PM
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

white-balloon-205

12/08/2019, 11:52 PM
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

bored-jackal-93148

12/08/2019, 11:52 PM
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

stocky-island-3676

12/12/2019, 8:40 AM
@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

bored-jackal-93148

12/12/2019, 9:00 PM
Ran into issues with a reliance on translative dependencies when building lambda functions that I haven’t been able to resolve.
s

stocky-island-3676

12/17/2019, 3:20 PM
@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 🙂