Pnpm catalog (<=9.5.0) support

Hello!

I am maintaining a turbo repo with more than 20 apps that have most of their dependencies in common.
Since pnpm 9.5.0, catalog feature will make my life way easier in bounding and updating dependencies versions.

Vercel build runner is using pnpm 9.4.0, is there any reason/blocker for not bumping its version ?
Is there a way to be notified when it will be updated ?

Thanks,

Alexandre.

Hi @elbalexandre. :smile: There are a couple of options available to set a specific package manager version. You can find details in the guide here: How do I use the latest npm version for my Vercel Deployment?

Hi @amyegan,

Thanks for pointing out possible solutions.

Unfortunately, COREPACK does not seems to works in my case (see following build logs).

COREPACK enabled build logs:

> Detected ENABLE_EXPERIMENTAL_COREPACK=1 and "pnpm@9.5.0" in package.json
Detected `pnpm-lock.yaml` version 9 generated by pnpm 9
Running "install" command: `pnpm install`...
 ERR_PNPM_UNSUPPORTED_ENGINE  Unsupported environment (bad pnpm and/or Node.js version)
Your pnpm version is incompatible with "/vercel/path0".
Expected version: >=9.5.0
Got: 9.4.0

Hi @elbalexandre ,

Our build container currently support PNPM 9.4.0 and we are yet to upgrade to latest PNPM version. Unfortunately we don’t have any concrete ETA when this will be available.

Note that we only recommend to pin Major version of Node and Package version and strongly recommend not to pin any minor version in your application.

Thanks!

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.