When will the v2 build system support detecting yarn/pnpm version?

This is the only thing blocking me from using the v2 system
5 Replies
niclim
niclim4mo ago
It already does, just set PNPM_VERSION in your deployment variables like this:
No description
switz
switzOP4mo ago
I tried that and it didn't work for me – it still tries to install via NPM maybe I misconfigured it
Isaac McFadyen
Isaac McFadyen3mo ago
If you have a package-lock.json or are missing a pnpm-lock.yaml file it will prefer using NPM Try commiting your pnpm-lock.yaml
switz
switzOP3mo ago
I don’t. I have the correct lock file
Isaac McFadyen
Isaac McFadyen3mo ago
Odd, can you show the build logs?

Did you find this page helpful?