benekuehn
TTCTheo's Typesafe Cult
•Created by benekuehn on 1/7/2024 in #questions
Vercel deployment errors as soon as Prisma enters the show
Hi, I used a new create-t3-app with prisma and the deploy to vercel fails due to:
(I also tried a new create-t3-app without prisma -> all fine, after bun install prisma, Vercel fails with the same error again)
[10:57:41.072] Installing dependencies...
[10:57:41.131] bun install v1.0.21 (837cbd60)
[10:57:41.139] Resolving dependencies
[10:57:41.775] Resolved, downloaded and extracted [2]
[10:57:41.777] Saved lockfile
[10:57:41.986] node:internal/modules/cjs/loader:1080
[10:57:41.986] throw err;
[10:57:41.987] ^
[10:57:41.987]
[10:57:41.987] Error: Cannot find module '/vercel/path0/scripts/postinstall.js'
[10:57:41.988] at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
[10:57:41.988] at Module._load (node:internal/modules/cjs/loader:922:27)
[10:57:41.988] at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
[10:57:41.988] at node:internal/main/run_main_module:23:47 {
[10:57:41.988] code: 'MODULE_NOT_FOUND',
[10:57:41.988] requireStack: []
[10:57:41.989] }
[10:57:41.989]
[10:57:41.989] Node.js v18.18.2
[10:57:41.989]
[10:57:41.989] error: postinstall script from "@prisma/engines" exited with 1
[10:57:41.997] Error: Command "bun install" exited with 1
[10:57:42.340]
7 replies