ERR_PNPM_EEXIST on vercel `pnpm install` after nuxt upgrade to 3.11.1
Hi, I'm getting
1 Reply
I think deleting
pnpm-lock.yaml
AND deleting ./node_modules
resolved this issue
then pnpm install
and re-deploy with vercel seems to work
Actually no. I run into the same problem again trying to release to --prod
. I think it's a build cache issue (vercel).
It only worked because while trying to solve, I had switched to yarn
and then back to pnpm
which caused the build cache to be purged.
trying again with
VERCEL_FORCE_NO_BUILD_CACHE=1 vercel --prod
I run into this again, VERCEL_FORCE_NO_BUILD_CACHE
didn't help but --force
(from CLI) did.
use like -> vercel --force