Opened 23 months ago
Closed 15 months ago
#66595 closed defect (fixed)
tree-sitter-swift @0.3.4: Failed to run `node`: Os { code: 2, kind: NotFound, message: "No such file or directory" }
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | amake (Aaron Madlon-Kay) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.0 |
Keywords: | Cc: | herbygillot (Herby Gillot) | |
Port: | tree-sitter-swift, tree-sitter-cli |
Description
thread 'main' panicked at 'Failed to run `node`: Os { code: 2, kind: NotFound, message: "No such file or directory" }', cli/src/generate/mod.rs:176:10 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace Command failed: /opt/local/bin/tree-sitter generate Exit code: 101
Change History (8)
comment:1 Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | herbygillot added |
---|---|
Port: | tree-sitter-cli added |
Looks like this is a bug in tree-sitter-cli, which apparently depends on the existence of a node
binary?
comment:3 Changed 20 months ago by amake (Aaron Madlon-Kay)
No, it's not a bug; the tree-sitter CLI tool shells out to node
:
So the tree-sitter-cli port needs a nodejs port as a runtime dependency.
comment:4 Changed 20 months ago by amake (Aaron Madlon-Kay)
comment:5 Changed 20 months ago by Aaron Madlon-Kay <aaron@…>
comment:6 follow-up: 7 Changed 20 months ago by amake (Aaron Madlon-Kay)
This should be fixed. Am I able to trigger a rebuild?
comment:7 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)
I've scheduled rebuilds of tree-sitter-swift on 10.9 and later.
comment:8 Changed 15 months ago by amake (Aaron Madlon-Kay)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
The same problem affects 0.3.5 and 0.3.6. Builds fail on all buildbot workers and on my system as well.