Open miquelmassot opened 1 year ago
I suspect this issue is something to do with how Vercel bundles Python packages. I'm not familiar with what they do under the hood.
What is in the tmp/zeit-fun-3ff47dfcd078a/prisma/
directory?
I'd also recommend trying generating to a local directory to see how Vercel handles that, for example:
generator py {
provider = "prisma-client-py"
output = "prisma"
}
was there any fix that worked for this? I have the same exact issue here. I tried changing the output as well as updating the build. Even changed it to python3 -m prisma -- didn't work
i have the same issue and when i tried to execute python scripts on vercel i couldn't do it and found this issue https://github.com/vercel/next.js/discussions/46223#discussion-4884240 vercel just don t put any python runtime on their server I currently have this vercel error when trying to do prisma generate before build
Bug description
The python client is apparently not working correctly with vercel. Upon deployment, the software complains about not being deployed despite having issued the commands. The repository I am using is https://github.com/miquelmassot/remote_awareness_web_server.
How to reproduce
npm install
.✔ Generated Prisma Client Python (v0.8.0) to ./venv/lib/python3.10/site-packages/prisma in 137ms
Expected behavior
Deployment to work straightaway.
Prisma information
Environment & setup