-
-
Notifications
You must be signed in to change notification settings - Fork 147
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] cargo install --path ./crates/cli failed #1118
Comments
This is caused by incompatible tree-sitter version release. You can try this cargo install ast-grep --locked |
Will there be a new release which fixes this? |
nope, this is tree-sitter's issue. Tree-sitter's version does not follow semver. Instead, use |
It won't be so easy for me. Our package pulls down all dependencies in a vendor tarball because the build system doesn't support having an internet connection. I'll try to research if I can somehow tell the service to use the locked versions. |
馃檨 Actual behavior
馃檪 Expected behavior
Install
ast-grep
by building it from source usingcargo install --path ./crates/cli
My workaround
My workaround is simple. Build
ast-grep
withcargo build --release -p ast-grep
then copy the binary executable to ~/.cargo/bin manually.The text was updated successfully, but these errors were encountered: