-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
error[E0463]: can't find crate for thiserror_impl
#3328
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
Comments
Sometimes cargo's index can get corrupted, leading to these kinds of issues (e.g. this stackoverflow post). If you delete the |
Yeah I just built it fine locally on macos and on linux, using stable and nightly, it's not an issue here I'd think I would try @WillLillis's suggestion first and see if that works |
I still get the error even after deleting the registry. rm -fr ~/.cargo/registry
cargo --version
cargo 1.76.0 (c84b36747 2024-01-18)
|
Tried a new version of
|
rm -fr ~/.cargo/registry
rustup run nightly-x86_64-unknown-linux-gnu cargo install tree-sitter-cli
|
I updated to cargo I found a similar looking issue in cargo's repo, but with |
Problem
From README, it says to install
but I get a compilation error
Steps to reproduce
Expected behavior
tree-sitter
installs.Tree-sitter version (tree-sitter --version)
tree-sitter-cli v0.22.5
Operating system/version
Linux
The text was updated successfully, but these errors were encountered: