You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also, I noticed something weird that you are not getting the right binary for ubuntu 16.04 that we ship. In the screenshot below, the binary for ubuntu 16.04 is named query-engine-linux-glibc-libssl1.0.2-ubuntu1604 but your binary is named query-engine-linux-glibc-libssl1.1.0
Can you please paste the output of lsb_release -a, openssl version and uname -a here?
I am accessing the internet through a proxy, however I have no problems installing other packages with npm and yarn. I can also download this package using the browser through the same proxy. I am investigating other causes and considering upgrading to ubuntu 18.04
It is not necessary anymore after #944 is fixed(it is in alpha now)
Previously unsafe perm was necessary as it would overcome a security feature of npm if you run npm as root on Linux(which is a bad idea anyways). So it wouldn't let our script download the prisma binary. So to overcome this, either you need to use --unsafe-perm or execute npm as a non-root user.
Activity
pantharshit00 commentedon Nov 14, 2019
I am unable to reproduce this.
Also, I noticed something weird that you are not getting the right binary for ubuntu 16.04 that we ship. In the screenshot below, the binary for ubuntu 16.04 is named
query-engine-linux-glibc-libssl1.0.2-ubuntu1604but your binary is namedquery-engine-linux-glibc-libssl1.1.0Can you please paste the output of
lsb_release -a,openssl versionanduname -ahere?cstffx commentedon Nov 14, 2019
Hi,
pantharshit00 commentedon Nov 15, 2019
Interesting, you have openssl version 1.1 while you are on Ubuntu 16.04 which I think should have openssl 1.0.1
Are you using the desktop version or a server? Also, I think this would probably be fixed by
prisma/prisma-engines#37#928cstffx commentedon Nov 18, 2019
I'm using the desktop version.
pantharshit00 commentedon Nov 19, 2019
Well, can you please try to install this with npm?
cstffx commentedon Nov 21, 2019
I get the next:
/home/user/node/bin/prisma2 -> /home/user/node/lib/node_modules/prisma2/build/index.js
Then the process fail with
request to https://s3-eu-west-1.amazonaws.com/prisma-native/master/b72fd0a786adc77ba6c61d0a9637ff0371e433b0/linux-glibc-libssl1.1.0/migration-engine.gz failed, reason: connect ETIMEDOUT 52.218.52.154:443'
I am accessing the internet through a proxy, however I have no problems installing other packages with npm and yarn. I can also download this package using the browser through the same proxy. I am investigating other causes and considering upgrading to ubuntu 18.04
pantharshit00 commentedon Nov 22, 2019
Hi @cstffx
We host our binaries in amazon s3. Our CLI downloads it in postinstall scripts. Can you please make sure that S3 is not blocked by your proxy?
aleccool213 commentedon Dec 17, 2019
@pantharshit00 Why is
--unsafe-permnecessary?pantharshit00 commentedon Dec 18, 2019
It is not necessary anymore after #944 is fixed(it is in alpha now)
Previously unsafe perm was necessary as it would overcome a security feature of npm if you run npm as root on Linux(which is a bad idea anyways). So it wouldn't let our script download the prisma binary. So to overcome this, either you need to use
--unsafe-permor execute npm as a non-root user.https://docs.npmjs.com/misc/config#unsafe-perm
Its usage is common for packages that install a binary(for example electron: https://github.com/electron/electron/blob/8a4c76d6558cffa53400e54317f0f9b1da22f7ef/docs/tutorial/installation.md#troubleshooting) but we have figured out a way to download the binary on the first run instead if our postinstall fails for some reason.
divyenduz commentedon Jan 9, 2020
@aleccool213 After #944, is this issue still relevant for you?
aleccool213 commentedon Jan 9, 2020
@divyenduz All good 👍
divyenduz commentedon Jan 9, 2020
Thank you, closing this one then 🙌
TML-2965: author native Postgres enums in TypeScript (#935)