Giter Site home page Giter Site logo

Prisma client error about next-blog HOT 7 OPEN

safak avatar safak commented on August 14, 2024
Prisma client error

from next-blog.

Comments (7)

allanmathenge avatar allanmathenge commented on August 14, 2024 2

Failed to commit changes. Invalid prisma.post.create()

Select the user ✅ category ✅ then save.

from next-blog.

Indula-Perera avatar Indula-Perera commented on August 14, 2024 1

Select Category And user from category table : click the gray color category and user from the select the category and user

from next-blog.

karshdev avatar karshdev commented on August 14, 2024

give all the essential details to prisma for ex-define all foreign keys first an restart ur prisma

from next-blog.

AatifxShaikh avatar AatifxShaikh commented on August 14, 2024

Try adding all the fields, I was getting the exact same error for like an hour but then somehow it got fixed make sure the category and the user email matches the previously added one

from next-blog.

Rabeet-5 avatar Rabeet-5 commented on August 14, 2024

from next-blog.

rohitpatel0011 avatar rohitpatel0011 commented on August 14, 2024

this error occur ..when you writing manually on category and post..DON'T DO THIS. just
click on category
Screenshot from 2023-11-07 09-03-06
select to mark a category
Screenshot from 2023-11-07 09-03-06
do same thing for user and save. it will works

from next-blog.

wayosu avatar wayosu commented on August 14, 2024

@Indula-Perera

Select Category And user from category table : click the gray color category and user from the select the category and user

thanks bro. i have the same error. and this is very helpful.

from next-blog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.