Pnpm install fails with shared-workspace-lockfile=false

Hey peoples,

I have a repository and I am trying to deploy it to vercel

I tried deploying it, it worked. But now if I push a commit and let it redeploy, it fails on the pnpm install step:

Lockfile is up to date, resolution step is skipped
Already up to date
undefined
/vercel/path0/packages/test-package:
ENOENT ENOENT: no such file or directory, open '/vercel/.local/share/pnpm/store/v3/files/f3/83154a33041cff854113f2de95fdb13555fc83487b1ef5b3d4cbd869b9146fd61b54aa5de2b267493bfdb958ff815d3b3235d82072d6f19ce2883f7aeb347f-index.json'

Error: Command "pnpm install" exited with 254

I am pretty sure its related to the shared-workspace-lockfile=false

No specific configuration. Just plain standard.

Here is the project.

Hi, Lukas!

Thank you for your patience :pray:

Here’s a post that may be helpful to the 404 error that you’re seeing. Could you go through it and let us know what works? :smile:

Cross-posting this answer as well in case it’s helpful.

In case this is related, we just shipped pnpm v10 support.

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