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.

`generate` shows "Downloading ..." every time when a custom binaryTarget is specified

See original GitHub issue
C:\Users\Jan\Documents\throwaway\targetExitRepro (master -> origin) (targetexitrepro@1.0.0)
λ prisma2 generate
> Downloading Prisma engines for windows and rhel-openssl-1.0.x [====================] 100%

Generated Prisma Client to .\node_modules\@prisma\client
Done in 4.17s



C:\Users\Jan\Documents\throwaway\targetExitRepro (master -> origin) (targetexitrepro@1.0.0)
λ prisma2 generate
> Downloading Prisma engines for windows and rhel-openssl-1.0.x [====================] 100%

Generated Prisma Client to .\node_modules\@prisma\client
Done in 4.10s



...

C:\Users\Jan\Documents\throwaway\targetExitRepro (master -> origin) (targetexitrepro@1.0.0)
λ prisma2 -v
prisma2@2.0.0-preview021, binary version: 4f8eb5bd9628db47402dc855ad0b6c7cfc915d46
generator client {
  provider = "prisma-client-js"
  binaryTargets = ["native", "rhel-openssl-1.0.x"]
}

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
timsuchanekcommented, Mar 2, 2020

Yes it can!

1reaction
pantharshit00commented, Feb 10, 2020

I can confirm this. From my observation, this only happens when we have specified a custom binary target

Read more comments on GitHub >

github_iconTop Results From Across the Web

Swift Package Manager can't download Firebase dependency
Show activity on this post. try to reset the package (from Files/Packages/Reset Packages Cache) with internet (not intranet) network then ...
Read more >
Local xcFrameworks in Swift Packag… - Apple Developer
In the talk, it was explained how to use a binaryTarget to add a .xcframework from a url, but what about a local...
Read more >
Bug with .binaryTarget in Swift Packages with Xcode?
I'm building an App's test target with xcodebuild. The test target includes tests from a Swift Package, which has an XCFramework .
Read more >
Prisma schema API (Reference)
This example shows how to configure Prisma Client to run on Ubuntu 19.04 (disco) ... Specify a provider pointing to some custom generator...
Read more >
Android Rules - Bazel
To build an Android app with data binding, you must also do the following: ... Every java_plugin specified in the plugins attribute will...
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