Nurul
PPrisma
β’Created by Just Nyde on 1/13/2025 in #help-and-questions
Hello, i'm getting error when i start my project
Hey π
When exactly do you get this error?
4 replies
PPrisma
β’Created by SHG-TV on 1/9/2025 in #help-and-questions
Using DELIMITER function in migration
Hey, apologies for the delay in getting back.
I think we need to add support for DELIMETER to allow your use case, I am not aware of any other workarounds at the moment.
8 replies
PPrisma
β’Created by Brokenwind on 1/13/2025 in #help-and-questions
Prisma.skip on deeply nested objects
Hey π
Can you please elaborate?
What output are you currently getting and what output were you expecting?
4 replies
PPrisma
β’Created by mdcarter on 1/13/2025 in #help-and-questions
Delete annoying warning in production
Can you try running something like this:
10 replies
PPrisma
β’Created by jcm10 on 1/10/2025 in #help-and-questions
Prisma Optimize Initialization Missing Database URL
Hey π
If I understand correctly, you get this error only when you are using optimize extension, right?
If you remove withOptimize extension, everything works as expected?
Also, which prisma and optimize version are you using?
6 replies
PPrisma
β’Created by kindlykraken on 1/10/2025 in #help-and-questions
TypeError: The "payload" argument must be of type object. Received null
Hey π
When exactly do you get this error?
Do you get this while invoking prisma.user.findFirst query?
6 replies
PPrisma
β’Created by Arxk on 1/12/2025 in #help-and-questions
Prisma JSON not working with "path"
Hey π
Can you please share the query you are invoking?
3 replies
PPrisma
β’Created by wvn on 1/10/2025 in #help-and-questions
Error saving in database
Can you try upserting using userID instead of username, and update the username field in the update block.
18 replies
PPrisma
β’Created by wvn on 1/10/2025 in #help-and-questions
Error saving in database
I think the core issue is that you have two unique fields
You have
@unique
on both username and userID. If either value duplicates whatβs already in the database, Prisma raises a P2002 error.
A user might have changed their username, but their userID is still the same. If you upsert by username, Prisma may see a conflicting record because the userID is already taken by that same person (but with the old username).18 replies
PPrisma
β’Created by wvn on 1/10/2025 in #help-and-questions
Error saving in database
Hey π
The error suggests that there is an existing record with the same username. If I understand correctly, do you mean you are getting the unique constraint error even though there isn't record with same value?
18 replies
PPrisma
β’Created by Sergii on 1/10/2025 in #help-and-questions
Can't configure compiled Prisma query engine for FreeBSD
I am glad to hear that! π
12 replies
PPrisma
β’Created by Reis on 1/9/2025 in #help-and-questions
Does Pulse .stream() have built-in reconnect logic?
Also which database are you using?
9 replies
PPrisma
β’Created by Dario on 11/11/2024 in #help-and-questions
Issues with raw queries (was working) - Postgres
Are you also using Prisma Postgres?
8 replies
PPrisma
β’Created by xeno on 1/9/2025 in #help-and-questions
Tips for using Neon + Pulse + tRPC for real-time updates
Hey @xeno π
What is your email id or GitHub handle?
I would like to take a look at logs for your workspace
7 replies
PPrisma
β’Created by Sergii on 1/10/2025 in #help-and-questions
Can't configure compiled Prisma query engine for FreeBSD
12 replies
PPrisma
β’Created by Sergii on 1/10/2025 in #help-and-questions
Can't configure compiled Prisma query engine for FreeBSD
For this error:
Error: Unable to require(/root/prisma-engines/target/release/deps/libquery_engine.so)You need to rename libquery_engine.so to libquery_engine.so.node
12 replies
PPrisma
β’Created by Reis on 1/9/2025 in #help-and-questions
Does Pulse .stream() have built-in reconnect logic?
Did you get any requestIds in the error message?
9 replies
PPrisma
β’Created by Sergii on 1/10/2025 in #help-and-questions
Can't configure compiled Prisma query engine for FreeBSD
Try exporting all the variables listed here?
https://github.com/prisma/prisma/issues/3091#issuecomment-1787214960
12 replies
PPrisma
β’Created by nikxda on 1/10/2025 in #help-and-questions
Mocking Prisma with Bun
I assume you are running Buns inbuilt test runner,
From their docs:
Bun aims for compatibility with Jest, but not everything is implemented. To track compatibility, see this tracking issue.https://github.com/oven-sh/bun/issues/1825 I think this could be a compatibility issue π€
7 replies
PPrisma
β’Created by Sergii on 1/10/2025 in #help-and-questions
Can't configure compiled Prisma query engine for FreeBSD
Hey π
Instead of adding the variables in env file, did you try to export them in your shell and try?
https://github.com/prisma/prisma/issues/3091#issuecomment-1787214960
12 replies