-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
bugSomething that isn't workingSomething that isn't workingneeds reproductionNeeds reproduction from OPNeeds reproduction from OP
Description
What versions & operating system are you using?
System:
OS: macOS 15.6.1
CPU: (14) arm64 Apple M4 Max
Memory: 103.16 MB / 36.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 24.1.0 - /Users//.nvm/versions/node/v24.1.0/bin/node
npm: 11.3.0 - /Users//.nvm/versions/node/v24.1.0/bin/npm
pnpm: 10.12.4 - /Users/**/Library/pnpm/pnpm
npmPackages:
@cloudflare/vite-plugin: ^1.13.8 => 1.13.12
wrangler: ^4.40.3 => 4.42.2
Please provide a link to a minimal reproduction
No response
Describe the Bug
I am trying to deploy to Cloudfare Workers but getting the following reponse when visiting the deployed site:
{"status":500,"unhandled":true,"message":"HTTPError"}
Seeing this error on the Cloudflare worker side:
HTTPError: No such module "assets/.prisma/client/edge".
imported from "assets/db-boN08oha.js"Caused by: Error: No such module "assets/.prisma/client/edge".
imported from "assets/db-boN08oha.js"
and also during the build, see this in the logs:
...
✓ built in 4.36s
00:42:17.792 vite v7.1.9 building SSR bundle for production...
00:42:17.797 transforming...
00:42:21.776 ".prisma/client/edge" is imported by ".prisma/client/edge?commonjs-external", but could not be resolved – treating it as an external dependency.
00:42:27.800 ✓ 3819 modules transformed.
...
building on the Cloudflare side with:
"build": "npx prisma generate --no-engine && vite build"
Please provide any relevant error logs
No response
Metadata
Metadata
Assignees
Labels
bugSomething that isn't workingSomething that isn't workingneeds reproductionNeeds reproduction from OPNeeds reproduction from OP
Type
Projects
Status
Untriaged