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

How do i run prisma with sqllite in the webcontainer #1653

Open
1 task done
justindressler opened this issue Dec 5, 2024 · 0 comments
Open
1 task done

How do i run prisma with sqllite in the webcontainer #1653

justindressler opened this issue Dec 5, 2024 · 0 comments

Comments

@justindressler
Copy link

Describe the bug

I need sqlite for a project im building using prisma how is this possible i get the following error during prima generate

prisma generate

prisma:warn Prisma failed to detect the libssl/openssl version to use, and may not work as expected. Defaulting to "openssl-1.1.x".
Please manually install OpenSSL and try installing Prisma again.
prisma:warn Prisma doesn't know which engines to download for the Linux distro "". Falling back to Prisma engines built "debian".
Please report your experience by creating an issue at https://github.com/prisma/prisma/issues so we can add your distro to the list of known supported distros.

Downloading Prisma engines for Node-API for debian-openssl-1.1.x [ ] 0%Error: request to https://binaries.prisma.sh/all_commits/5a9203d0590c951969e85a7d07215503f4672eb9/debian-openssl-1.1.x/schema-engine.gz.sha256 failed, reason: socket hang up
npm ERR! code 1
npm ERR! path /home/projects/sb1-idralg
npm ERR! command failed
npm ERR! command sh -c prisma generate

npm ERR! A complete log of this run can be found in: /home/.npm/_logs/2024-12-05T01_48_35_826Z-debug-0.log

Link to the blitz that caused the error

https://stackblitz.com/edit/sb1-idralg?file=.vscode%2Fsnippets.json

Steps to reproduce

just run npx prisma generate && npx prisma db push

Expected behavior

should run local instance of sqlite with orm from prisma or maybe grizzle if possible

Parity with Local

Screenshots

No response

Platform

Browser name  = Chrome
Full version  = 131.0.0.0
Major version = 131
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0
performance.memory = {
  "totalJSHeapSize": 71756475,
  "usedJSHeapSize": 66501455,
  "jsHeapSizeLimit": 4294705152
}
Hash = fc837ba8

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant