worker error when using Building Nitro Server (preset: cloudflare_pages) and Prisma

adlab.pages.dev

build log is attached

13:31:53.588    ✨ Success! Uploaded 0 files (38 already uploaded) (0.62 sec)
13:31:53.589    
13:31:54.069    ✨ Upload complete!
13:31:55.513    Success: Assets published!
13:31:56.628    Error: Failed to publish your Function. Got error: Uncaught TypeError: Cannot read properties of undefined (reading 'fd')
  at worker.mjs:6782:98 in useColors
  at worker.mjs:6678:98 in createDebug
  at worker.mjs:13054:40 in debugCall
  at worker.mjs:13092:16
  at worker.mjs:20707:3


the nitro server builds
13:31:22.277    ℹ Building Nitro Server (preset: cloudflare_pages)
13:31:42.848    ✔ Nitro server built
13:31:42.917    └─ functions/path.js (1.35 MB) (367 kB gzip)
13:31:42.918    Σ Total size: 1.35 MB (367 kB gzip)
Was this page helpful?