-
-
Notifications
You must be signed in to change notification settings - Fork 172
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
Cannot be installed on linux due to binary dependencies #211
Comments
Yeah sorry about that. Duplicate of #209, let's track it over there. |
It's clearly not a duplicate because it has nothing to do with missing |
It looks like they hard coded
And because I don't have |
I should probably install |
Yes. I'm thinking about downgrading tree-sitter-bash to v0.19.0 but that will likely not help you here either. |
You might want to try v2.19.8 with the downgraded 3rd party dep. |
We have this same issue and v2.19.8 does not fix it I'm afraid. The newest version that works is v2.19.5. |
Sorry about that, read and assumed too fast that "No prebuilt binaries found" would essentially be the same issue (since the binaries are missing):
tree-sitter-bash v0.19.0 has this list of binaries: https://github.com/tree-sitter/tree-sitter-bash/releases/tag/v0.19.0. Not sure what's missing that would match your environment(s)? Wanted to get rid of an ancient dependency. Also see #72. The tree-sitter replacement works slightly better than bash-parser, so I don't fancy reverting, which would be a breaking change again. |
None of those prebuilt binaries have anything to do with If you look at https://www.npmjs.com/package/leveldown?activeTab=code it has the binaries in the npm package. If you look at https://www.npmjs.com/package/tree-sitter-bash?activeTab=code you will see zero binaries in the npm tarball. The package author of tree-sitter-bash has to change their npm publish strategy ( see https://github.com/Level/leveldown/blob/master/.github/workflows/release.yml as reference ) |
Guess this wasn't the right time for tree-sitter yet. Reverted to bash-parser in v2.19.11. Thanks for all the info, I will look into it and pass it through. |
With linking to tree-sitter/tree-sitter-bash#188 I'm going to close this issue. Tips & tricks still most welcome, either for preventing similar issues in the future or for alternatives. |
The tree sitter bash library does not compile.
The text was updated successfully, but these errors were encountered: