N
Nuxt9mo ago
hartmut

ERR_PNPM_EEXIST on vercel `pnpm install` after nuxt upgrade to 3.11.1

Hi, I'm getting
ERR_PNPM_EEXIST  EEXIST: file already exists, rename '/vercel/path0/node_modules/@parcel/watcher-wasm/node_modules' -> '/vercel/path0/node_modules/@parcel/watcher-wasm_tmp_90/node_modules'
ERR_PNPM_EEXIST  EEXIST: file already exists, rename '/vercel/path0/node_modules/@parcel/watcher-wasm/node_modules' -> '/vercel/path0/node_modules/@parcel/watcher-wasm_tmp_90/node_modules'
1 Reply
hartmut
hartmutOP9mo ago
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
Want results from more Discord servers?
Add your server