All Questions
78
questions
1
vote
0
answers
10
views
deployment error in my nexjs application with Prisma orm
during the deployment of my application on Vercel, at the construction stage, I receive the error shown in the attached image.
I've also associated the package.json file.
{
"name": "...
0
votes
0
answers
36
views
cannot access vercel/postgres database with sql
i have a postresql db deployed on my vercel account. i used to be able to manage it with sql commands (import { sql } from '@vercel/postgres'). but now, even tough i connected it to the db and pulled ...
0
votes
0
answers
16
views
i cannot insert data into my postgreSQL db with Prisma Orm
i am working on a next.js web application. i am using vercel, postgreSQL and prisma. this is my prisma schema:
model entry {
no Int @id @default(autoincrement())
content String
cretedAt DateTime ...
0
votes
0
answers
103
views
@prisma/client did not initialize yet. Please run "prisma generate" and try to import it again. getting this error when deploying to vercel
I was using Prisma for my postgresql db.
Everything was working fine until i started promoting to Vercel.
so whenever i am trying to import Prisma to update something in the code from the prisma.js ...
0
votes
0
answers
94
views
Deploying TurboRepo with Next.js Frontend and Express.js Backend on Vercel
I am currently building a basic proof of concept for a monorepo using TurboRepo, featuring a Next.js front-end and an Express.js backend with Prisma ORM.
I can run my project locally without issues, ...
0
votes
0
answers
36
views
Invocation/function crashed timeout error after deployment in Vercel/Netlify
Github repo: https://github.com/sparshak7/commerceStop
I had deployed my website to Vercel. It was all working great till yesterday. From today, I keep getting tons of errors, such as application has ...
0
votes
0
answers
49
views
How to use one database for two projects or more in vercel
I have build two project using nextjs and I have already hosted the first one using vercel and now when I tried to host the second one I have found that vercel allow for creation of only one database ...
0
votes
1
answer
58
views
Type error: Route "src/app/api/orders/route.ts" does not match the required types of a Next.js Route. "default" is not a valid Route export field
I want to find the orders in the database using Prisma using the user's email (they are signed in only through Google Provider). This is the repository - https://github.com/Jayesh-kahnani/Snatch
This ...
1
vote
2
answers
586
views
Type error: Module '"@prisma/client"' has no exported member 'Product'
I am using NextJs, Typescript, Prisma and MongoDb. Everything works fine when i run "npm run build". But when I am trying to deploy a project on Vercel, I am getting this error:
Type error: ...
0
votes
1
answer
216
views
prisma client failing with vercel, despite the official solution being implemented
I'm getting this error in my next.js project deployed on vercel.
PrismaClientInitializationError: Prisma has detected that this project was built on Vercel, which caches dependencies. This leads to an ...
2
votes
0
answers
330
views
problem with error module vercel/turbopack
Hello my problem is this error.
./node_modules/next/dist/client/components/react-dev-overlay/internal/helpers/use-websocket.js:86:8
Module not found: Can't resolve '@vercel/turbopack-ecmascript-...
1
vote
0
answers
99
views
Nuxt3 + vercel postgressQL slow in production
I'm trying to create a simple CRUD system using Vercel's posgresql database with my nuxt3 project. At first I found it easy to get started and didn't think there would be any problems. On the system I ...
0
votes
1
answer
150
views
Api route bug with Nextjs app in Turbo using Prisma (and a little trpc)
I have a monorepo appliction using turborepo, the main web app is Nextjs and the database is accessed/handled by prisma. For 99% of the data retrieval we use trpc to get data from the database but we ...
0
votes
0
answers
85
views
How to Optimize Data Writes to Postgres with NextJS and Prisma on batch operations?
I'm working on a NextJS project where I need to optimize data writes to a Postgres database using Prisma, as this is one of my most significant usage costs in Vercel's storage. Currently, I'm ...
0
votes
0
answers
99
views
Prisma studio does not save the input
I just try prisma and i got this problem without error message on console or prisma it self. I figure out to solve this problem for 3hrs and i haven't got any solution for this.
So my problem is when ...