I'm following the tutorial at http://tree-sitter.github.io/tree-sitter/creating-parsers but on the generation step the executable fails with this.
➜ tree-sitter generate
No such file or directory (os error 2)
➜ ./node_modules/tree-sitter-cli/tree-sitter generate
No such file or directory (os error 2)
So what file or directory is missing?
MacOS 10.14.3 / zsh
Looks like this is caused by a missing src folder
Ah, sorry about that; you shouldn't have to create the src folder manually. I'll push a fix shortly.
I published 0.14.5, which fixes this.
Most helpful comment
Ah, sorry about that; you shouldn't have to create the
srcfolder manually. I'll push a fix shortly.