You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting an error when trying to use cargo-add before any command that updates the index. I get this error:
Command failed due to unhandled error: failed to resolve path '/usr/local/cargo/registry/index/github.com-1ecc6299db9ec823': No such file or directory; class=Os (2); code=NotFound (-3)
I think issue #339 had a similar problem, but this is happening to me with the standard crates.io. Just like in #339, I can run cargo search <any package and then cargo add works perfectly.
The text was updated successfully, but these errors were encountered:
I just ran into this as well. Similarly tried cargo search, which resolved the problem. cargo-edit should probably update the local index if it's out of date/missing, or tell the user to refresh it manually.
I'm getting an error when trying to use cargo-add before any command that updates the index. I get this error:
Command failed due to unhandled error: failed to resolve path '/usr/local/cargo/registry/index/github.com-1ecc6299db9ec823': No such file or directory; class=Os (2); code=NotFound (-3)
I think issue #339 had a similar problem, but this is happening to me with the standard crates.io. Just like in #339, I can run
cargo search <any package
and then cargo add works perfectly.The text was updated successfully, but these errors were encountered: