Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not figure out an ID in create #23907

Open
Sonichigo opened this issue Apr 20, 2024 · 3 comments
Open

Could not figure out an ID in create #23907

Sonichigo opened this issue Apr 20, 2024 · 3 comments
Labels
bug/0-unknown Bug is new, does not have information for reproduction or reproduction could not be confirmed. kind/bug A reported bug. team/client Issue for team Client. tech/engines/query engine Issue in the Query Engine tech/engines Issue for tech Engines. topic: bun Bun is a fast all-in-one JavaScript runtime

Comments

@Sonichigo
Copy link

Hi Prisma Team! My Prisma Client just crashed. This is the report:

Versions

Name Version
Node v21.6.0
OS linux-arm64-openssl-3.0.x
Prisma Client 5.12.1
Query Engine 473ed3124229e22d881cb7addf559799debae1ab
Database postgresql

Logs

prisma:tryLoadEnv Environment variables not found at null
prisma:tryLoadEnv Environment variables loaded from /home/sonichigi.linux/bun-sql/.env
prisma:client checkPlatformCaching:postinstall false
prisma:client checkPlatformCaching:ciName 
prisma:tryLoadEnv Environment variables not found at null
prisma:tryLoadEnv Environment variables loaded from /home/sonichigi.linux/bun-sql/.env
prisma:client dirname /home/sonichigi.linux/bun-sql/node_modules/.prisma/client
prisma:client relativePath ../../../prisma
prisma:client cwd /home/sonichigi.linux/bun-sql/prisma
prisma:client clientVersion 5.12.1
prisma:client:libraryEngine internalSetup
prisma:get-platform Found distro info:
{
  "targetDistro": "debian",
  "familyDistro": "debian",
  "originalDistro": "debian"
}
prisma:get-platform Trying platform-specific paths for "debian" (and "ubuntu")
prisma:get-platform Falling back to "ldconfig" and other generic paths
prisma:get-platform Command "ldconfig -p | sed "s/.*=>s*//" | sed "s|.*/||" | grep libssl | sort | grep -v "libssl.so.0"" successfully returned "libssl.so
libssl.so.3
libssl3.so
"
prisma:get-platform Found libssl.so file using "ldconfig" or other generic paths: libssl.so
libssl.so.3
libssl3.so

prisma:get-platform The parsed libssl version is: 3.0.x
prisma:client:engines:resolveEnginePath enginePath /home/sonichigi.linux/bun-sql/node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node
prisma:client:libraryEngine sending request, this.libraryStarted: false
prisma:client:libraryEngine library starting
prisma:client:libraryEngine library started
prisma:client:request_handler {"name":"PrismaClientRustPanicError","clientVersion":"5.12.1"}
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true

Client Snippet

// PLEASE FILL YOUR CODE SNIPPET HERE

Schema

// PLEASE ADD YOUR SCHEMA HERE IF POSSIBLE

Prisma Engine Query

{"X":true}}}
@Weakky Weakky added bug/0-unknown Bug is new, does not have information for reproduction or reproduction could not be confirmed. kind/bug A reported bug. team/client Issue for team Client. tech/engines Issue for tech Engines. tech/engines/query engine Issue in the Query Engine labels Apr 24, 2024
@Weakky
Copy link
Member

Weakky commented Apr 24, 2024

Hey @Sonichigo ,

Would you mind sharing any additional information so that we can reproduce your issue? Your datamodel and some Prisma Client query that reproduces this bug is capital for us to work on the issue.

Thank you! 🙏

@Sonichigo
Copy link
Author

hey @Weakky ,

Here's my repo:- https://github.com/darkin424/Blog-Website .

To reproduce please follow the steps below:-

1. start the database docker instance
2. install `keploy` with :- https://keploy.io/docs/server/installation/
3. keploy record -c "bun --watch index.ts"
4. make few post api call for creation like `signup`, `create-post`
5. stop the docker instance
6. keploy test -c "bun --watch index.ts"

With this you can replicate the issue

@janpio janpio added the topic: bun Bun is a fast all-in-one JavaScript runtime label Apr 24, 2024
@Sonichigo
Copy link
Author

@Weakky were you able to replicate the issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/0-unknown Bug is new, does not have information for reproduction or reproduction could not be confirmed. kind/bug A reported bug. team/client Issue for team Client. tech/engines/query engine Issue in the Query Engine tech/engines Issue for tech Engines. topic: bun Bun is a fast all-in-one JavaScript runtime
Projects
None yet
Development

No branches or pull requests

3 participants