Elliott-Chong / learning-journey-yt

https://learning-journey.reluate.tech
108 stars 57 forks source link

Error: @prisma/client did not initialize yet. #5

Open AhmedDoudou opened 1 year ago

AhmedDoudou commented 1 year ago

Hello guys, I'm new be in node.js
Error: @prisma/client did not initialize yet. Please run "prisma generate" and try to import it again. In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues

Simran93504 commented 1 year ago

run this command: npx prisma generate npm run dev npx prisma db push

AhmedDoudou commented 12 months ago

it's work thanks i have an other ⨯ Error: No response is returned from route handler 'C:\Users\hp\Downloads\AITest\learning-courses\src\app\api\course\create Chapters\route.ts'. Ensure you return a Response or a NextResponse in all branches of your handler. Capture