Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve uvx error message when uv is missing #9745

Merged
merged 2 commits into from
Jan 21, 2025
Merged

Improve uvx error message when uv is missing #9745

merged 2 commits into from
Jan 21, 2025

Conversation

zanieb
Copy link
Member

@zanieb zanieb commented Dec 9, 2024

from #9742

❯ cargo run -q --bin uvx
Provide a command to run with `uvx <command>`.

The following tools are installed:

- ansible-core v2.17.5
- black v24.10.0
- rooster-blue v0.0.0

See `uvx --help` for more information.
❯ rm target/debug/uv
❯ cargo run -q --bin uvx
error: Could not find the `uv` binary at /Users/zb/workspace/uv/target/debug/uv

@zanieb zanieb added the error messages Messaging when something goes wrong label Dec 9, 2024
@charliermarsh
Copy link
Member

We could give some guidance on how to fix, but not blocking.

@zanieb
Copy link
Member Author

zanieb commented Dec 9, 2024

Yeah idk what the guidance is? Reinstall?

@charliermarsh
Copy link
Member

Yeah I think at least rm the uvx...

@zanieb
Copy link
Member Author

zanieb commented Dec 9, 2024

I'm interested in waiting to see how someone would get in this situation, but agree guidance would be nice.

@zanieb zanieb merged commit d952a97 into main Jan 21, 2025
68 checks passed
@zanieb zanieb deleted the zb/uvx-missing branch January 21, 2025 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
error messages Messaging when something goes wrong
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants