PNPM v9
Is there any way to use pnpm v9 in Cloudflare Pages other than manually installing it using
npm install
?8 Replies
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.
Use env variable to set the version
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)
Did you set it for both preview and prod env?
🤣
This got me back then
Thank you, @lennartzellmer, for your help! I can't tell how many more times I'll be scratching my head over these little things!