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
{{ message }}
Repository navigation
unable to use photon on ubuntu bionic release #836
Hi Team,
I'm getting this error when using generated photon client
Invalid `photon.()` invocation in /home/.../server.js:15497:41
Photon binary for current platform linux-glibc-libssl1.1.0 could not be found.
Photon looked in null but couldn't find it.
Make sure to adjust the generator configuration in the schema.prisma file:
generator photon {
provider = "photonjs"
binaryTargets = ["native", "linux-glibc-libssl1.1.0"]
}
Please run prisma2 generate for your changes to take effect.
Note, that by providing `native`, Photon automatically resolves `linux-glibc-libssl1.1.0`.
Read more about deploying Photon: https://github.com/prisma/prisma2/blob/master/docs/core/generators/photonjs.md
I am unable to reproduce this on Ubuntu 18.04 LTS Linux ubuntu-s-1vcpu-1gb-fra1-01 4.15.0-66-generic #75-Ubuntu SMP Tue Oct 1 05:24:09 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
It works as expected. Can you please make sure you have installed prisma2 using --unsafe-perm.
Activity
pantharshit00 commentedon Oct 28, 2019
I am unable to reproduce this on Ubuntu 18.04 LTS
Linux ubuntu-s-1vcpu-1gb-fra1-01 4.15.0-66-generic #75-Ubuntu SMP Tue Oct 1 05:24:09 UTC 2019 x86_64 x86_64 x86_64 GNU/LinuxIt works as expected. Can you please make sure you have installed prisma2 using
--unsafe-perm.divyenduz commentedon Jan 9, 2020
The related --unsafe-perm issue was closed @insanebaba, I suggest that you try this again, if the problem persists, please comment here and tag me.
I am closing this one for now 🙏