Open m-paternostro opened 11 months ago
doesn't feel like a bun issue, did you actually build the binding with bun install
or something like that? The tree_sitter_java_binding
is built by node-gyp so you could also just run node-gyp build
how do you even run this?
when i import tree-sitter bindings and run them in bun context i get this
how do you even run this?
when i import tree-sitter bindings and run them in bun context i get this
Yes, I have the same problem. I hope the missing flag gets implemented soon. Would love to get tree-sitter working on Bun. Still need to rely on NodeJS for that specific one.
What version of Bun is running?
1.0.15
What platform is your computer?
Darwin 23.1.0 x86_64 i386
What steps can reproduce the bug?
The easiest way to reproduce this issue is to run
bun i
with the followingpackage.json
What is the expected behavior?
Using
npm i
, thetree-sitter-java
module is built and then everything works. More precisely, after the installation withnpm
, the directorynode_modules/tree-sitter-java/build
is available.What do you see instead?
After installing the dependencies with
bun i
, thenode_modules/tree-sitter-java/build
is not available, which seems to indicate that the installation has not triggered this module to be built (as it happens withnpm
). Notice that I have added both modules astrustedDependencies
As a result, the tests that pass with
npm
fail inbun
:Additional information
No response