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.

Every CLI command should download the binaries if needed

See original GitHub issue

I faced an issue with the latest alphas that prisma2 failed due to missing binaries (query-engine). I tried to launch prisma2 migrate save --experimental that immediately complained about a missing binary. In the end it seems prisma2 generate will download the binaries, but should we just try to download them in every situation if the cli sees them missing?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
timsuchanekcommented, Mar 30, 2020

Thanks a lot for reporting 🙏 This issue is fixed in the latest alpha version of @prisma/cli. You can try it out with npm i -g @prisma/cli@alpha.

In case it’s not fixed for you - please let us know and we’ll reopen this issue!

1reaction
janpiocommented, Feb 25, 2020

Shorter: All command that use the binaries and might fail when they are missing, should try to download them if they are missing. migrate currently doesn’t seem to do that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Install Confluent CLI
The installation script detects which system you are running on and downloads the appropriate binary.
Read more >
Command-Line Interface — internetarchive 1.8.0 documentation
The easiest way to start using ia is downloading a binary. The only requirements of the binary are a Unix-like environment with Python...
Read more >
Installing or updating the latest version of the AWS CLI
This topic describes how to install or update the latest release of the AWS Command Line Interface (AWS CLI) on supported operating systems....
Read more >
Command Line | Getting Started - Particle docs
You can manually install the particle-cli Node.js package if you need the CLI ... These next two commands are all you need to...
Read more >
Work with CLIs - Akamai TechDocs
This command compiles and globally installs the binary with all necessary dependencies. Compile from source. To compile Akamai CLI from source, you'll need...
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