```{"error":"\nInvalid `prisma.want.create()` invo...
# orm-help
h
Copy code
{
  "error": "\nInvalid `prisma.want.create()` invocation:\n\n\n  Failed to validate the query: `Field does not exist on enclosing type.` at `Mutation.createOneWant`"
}
Hello everyone, ^ that's the error I've hit. 'Wants' is a new table I've added, I've completed the migration and run prisma generate with no issues. It's a fairly simple table and I'm supplying all the needed fields. I'd really appreciate any insights!
r
@Harjaap Singh Makkar 👋 A person faced a similar issue like this yesterday, it was fixed by removing
node_modules
and reinstalling everything again. Also I would suggest keeping
prisma
and
@prisma/client
versions the same.
1
👍 1
h
For anyone also running into this error, deleting node modules and making sure the versions are the same didn't quite do the trick. @Ryan and I are still trying to resolve
Update: the issue is with 3.1.1, downgrading to 3.0.2 does the trick