-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Can not Install: Missing query-engine-debian-openssl-1.1.x #1642
Comments
Quickly tried to reproduce this on WSL (1, only using super stable software on this machine... 🤷♀ ), and could not - there the binaries were successfully downloaded and a Prisma Client could be generated with the steps mentioned in https://github.com/prisma/prisma2/blob/master/docs/getting-started/start-from-scratch-with-empty-db/quickstart-prisma-migrate.md (which you linked to in Slack). @pantharshit00 please try to reproduce this with WSL2 (https://docs.microsoft.com/en-us/windows/wsl/wsl2-install). (@KyleTryon If you are not depending on WSL, Prisma works fine in normal Windows. It will download different binaries, that should work just fine. Maybe that is a temporary workaround for you.) |
I uninstalled ubuntu and reinstalled it for a fresh WSL 2 box and tried again. This time I got a different error, then re-ran the installation with no error shown.
Everything is now working fine 👍 Was able to run:
Thanks everyone 🙏 |
Hm, we might want to investigate this anyway - the |
sudo npm i -g prisma2 |
Same problem on ArchLinux. I needed to reinstall it. |
Same problem inside docker
|
Also on Windows an WSL @unlight? If not, please open a new issue and include all available information so we can try to reproduce this. |
Can you all please try again with the latest version |
@pantharshit00 The |
@krn0x2 Can you please post your dockerfile here? |
same issue for alpine 3.11 and
docker build and docker run:
|
@pantharshit00 please take a look ^ |
if i add to my dockerfile:
from #702 (comment) it works! |
@andriisoldatenko We do not compile for alpine yet so I would advice you to use a different docker image. |
I tried andriisoldatenko suggested above with node:12-alpine, however doesn't work for me. My try with node:12-alpine got this error: |
@pantharshit00 I tried node:slim, it works for my nodejs app with prisma2. However, the image is still kind of big. Is there a way that node:apline could work for nodesjs app with prisma2 Docker build? What missing dependices should I add? I even added |
@yleigh You will need to add A community member posted steps that worked for them here: #702 (comment) or you can compile the binaries for Alpine as one of the other community members did: #702 (comment) |
Also having the same issue inside |
@Tenkir Can you please share your Dockerfile? |
With node:slime, in Dockerfile I added this and fixed the issue: |
I have the same issue in nixos when trying to run
|
@husseinraoouf, See #2305 |
Closing as old. Please open a new issue if you experience this with a more recent version of Prisma. |
In my case
|
Downloading Prisma engines for Node-API for debian-openssl-1.1.x [ ] 0%Error: request to https://binaries.prisma.sh/all_commits/ceb5c99003b99c9ee2c1d2e618e359c14aef2ea5/debian-openssl-1.1.x/prisma-fmt.gz.sha256 failed, reason: unable to verify the first certificate Still not resolved in prisma version 4.9.0, Ubuntu 20.04.5 LTS |
@saharshg I think I might be able to help you, but could you open a new issue here first? |
Env info:
Running Ubuntu 18.04 in Windows 10 WSL 2.
Globally installed prisma2:
prisma2@2.0.0-preview022, binary version: f608db3b9e4f50f9a384356e532357b0a525969a
package.json
Error
Reproduce:
Run: npm install
You can see
debian-openssl-1.1.x
was apparently saved successfully but after the operation, I do not see it in thenode_modules/prisma2
directory:Running as sudo will produce the same error.
The text was updated successfully, but these errors were encountered: