[MacPorts] #66595: tree-sitter-swift @0.3.4: Failed to run `node`: Os { code: 2, kind: NotFound, message: "No such file or directory" }

MacPorts noreply at macports.org
Tue Mar 14 09:25:07 UTC 2023


#66595: tree-sitter-swift @0.3.4: Failed to run `node`: Os { code: 2, kind:
NotFound, message: "No such file or directory" }
-------------------------------------------------+----------------------
  Reporter:  ryandesign                          |      Owner:  amake
      Type:  defect                              |     Status:  assigned
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:  2.8.0
Resolution:                                      |   Keywords:
      Port:  tree-sitter-swift, tree-sitter-cli  |
-------------------------------------------------+----------------------

Comment (by amake):

 No, it's not a bug; the tree-sitter CLI tool shells out to `node`:

 https://github.com/tree-sitter/tree-
 sitter/blob/25d9c989ebdc53dbad3852317c5b45228ff012e4/cli/src/generate/mod.rs#L171

 So the tree-sitter-cli port needs a nodejs port as a runtime dependency.

-- 
Ticket URL: <https://trac.macports.org/ticket/66595#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list