Hey, how can I specify a pnpm version to use?

I tried setting this in package.json:
"engines": {
"pnpm": "8.x"
},
"engines": {
"pnpm": "8.x"
},
But it still seems to use pnpm-7_x
8 Replies
Percy
Percy2y ago
Project ID: 10c26751-5dc0-4f13-8d63-2dabf874389e
Ryan The Temp
Ryan The TempOP2y ago
10c26751-5dc0-4f13-8d63-2dabf874389e
Ryan The Temp
Ryan The TempOP2y ago
ok, I tried setting it:
"packageManager": "[email protected]",
"packageManager": "[email protected]",
But still seeing this:
Brody
Brody2y ago
thats odd, but does pnpm-7 not work for you?
Ryan The Temp
Ryan The TempOP2y ago
we upgraded our project to pnpm 8 which was recently released to take advantage of some features so, it seems that its not building successfully, but still says pnpm-7_x i'm not sure if its really using pnpm 8, or pnpm 7 is still used I wouldn't expect pnpm 7 to work, since pnpm 8 has breaking changes
Want results from more Discord servers?
Add your server