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

How to resolve Command failed due to unhandled error: No such file or directory (os error 2)? #472

Closed
jbr opened this issue Jul 8, 2021 · 1 comment

Comments

@jbr
Copy link

jbr commented Jul 8, 2021

Hi and thanks for cargo-edit, a core part of my daily rust toolchain!

I have no idea what I did to my local rust install, but now when I run cargo add, I get the message in the title of this issue, with no further information even when RUST_LOG=trace. What's the next step to figure out what specifically is broken?

❯ RUST_LOG=trace cargo add cfg-if
Command failed due to unhandled error: No such file or directory (os error 2)
❯ cargo add --version
cargo-add 0.7.0
@jbr
Copy link
Author

jbr commented Jul 8, 2021

closing as duplicate of #449

@jbr jbr closed this as completed Jul 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant