Vercel deployment failure
Answered
Spectacled Caiman posted this in #help-forum
Spectacled CaimanOP
Trying to deploy a github project, and getting this error. Tried with multiple different projects and all failed. I am using bun to install dependencies, that may be the problem.
Error: Cannot find module '/vercel/path0/install.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
at Module._load (node:internal/modules/cjs/loader:922:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []2 Replies
Spectacled CaimanOP
switching to pnpm fixed it
Answer
Ocicat
Same here, bun builds started to fail and pnpm works. Sad because I would prefer to use bun for prod builds but oh well, vercel bun support has been flaky