question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Runtime error on Zeit Now

See original GitHub issue

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"
}

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:16 (8 by maintainers)

github_iconTop GitHub Comments

6reactions
leocommented, Aug 23, 2019

Hey!

We’ll make sure the libssl version matches, so you can deploy those without problems.

The status can be tracked here: https://github.com/zeit/now-cli/issues/2824

1reaction
divyenduzcommented, Sep 9, 2019

@petrbrzek Can you please create a new GH issue with a minimal reproduction and tag me there? Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error while deploying my app with NOW (Example) - Treehouse
I have errors regarding fsevents module (it has bothered be every time during npm install with 'deprecated' issues) an...
Read more >
Unable to investigate on ZEIT Now 502 eror for a NextJS app
The issue was caused by an incompatibility between the d3-cloud library and the Now environment. By replacing it with the react-wordcloud ...
Read more >
Error when deploying to now - Frontity Community Forum
I'm trying to deploy this project → https://github.com/frontity-demos/demo-custom-post-types to now by using npx now --prod from the root ...
Read more >
Errors – Vercel Docs
Repeat the application behavior that led to the error being thrown and review the realtime request logs where it will now show.
Read more >
Deploying React to ZEIT Now
Discover the latest Deploying React to ZEIT Now learning resources. ... serverless api functions are executed... these env variables in runtime are secret!...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found