PNPM v9

Is there any way to use pnpm v9 in Cloudflare Pages other than manually installing it using npm install?
8 Replies
lennartzellmer
lennartzellmer•2w ago
Cloudflare Docs
Build image | Cloudflare Pages docs
Cloudflare Pages’ build environment has broad support for a variety of languages, such as Ruby, Node.js, Python, PHP, and Go.
lennartzellmer
lennartzellmer•2w ago
Use env variable to set the version
Muhymin
MuhyminOP•2w ago
Thanks for the suggestion @lennartzellmer . I tried doing that. But Cloudflare seems to ignore it and continue installing the default pnpm version (8.7.1)
No description
Muhymin
MuhyminOP•2w ago
No description
lennartzellmer
lennartzellmer•2w ago
Did you set it for both preview and prod env?
Muhymin
MuhyminOP•2w ago
🤣
lennartzellmer
lennartzellmer•2w ago
This got me back then
Muhymin
MuhyminOP•2w ago
Thank you, @lennartzellmer, for your help! I can't tell how many more times I'll be scratching my head over these little things!
Want results from more Discord servers?
Add your server