prisma: Runtime error on Zeit Now
When deployed to Zeit Now, my proof-of-concept repo (https://github.com/iherger/prisma2-now) leads to the following runtime errors:
Photon could not resolve the needed binary for the current platform linux-glibc-libssl1.0.2.
Instead we found /var/task/node_modules/@generated/photon/runtime/query-engine-linux-glibc-libssl1.0.1, which we're trying for now. In case Photon runs, just ignore this message.
The prisma data source and generators are defined without the platforms setting, i.e.
datasource pg {
provider = "postgresql"
url = env("POSTGRESQL_URL")
enabled = true
}
generator photon {
provider = "photonjs"
}
generator nexus_prisma {
provider = "nexus-prisma"
}
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 16 (8 by maintainers)
Hey!
We’ll make sure the
libsslversion matches, so you can deploy those without problems.The status can be tracked here: https://github.com/zeit/now-cli/issues/2824
@petrbrzek Can you please create a new GH issue with a minimal reproduction and tag me there? Thanks
Thanks. The warning seems to have disappeared.