We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, I'm trying to test some things with tree-sitter-typescript, since tree-sitter/tree-sitter-javascript#208 got merged recently.
However, I don't know how to do anything in this repo 😅 looking at package.json, I see scripts -- but running them causes errors:
scripts
cd tree-sitter-typescript npm install # install succeeds npm run build > tree-sitter-typescript@0.20.1 build > npm run build-typescript && npm run build-tsx > tree-sitter-typescript@0.20.1 build-typescript > cd typescript && npx tree-sitter generate --no-bindings node:events:505 throw er; // Unhandled 'error' event ^ Error: spawn <repo>/node_modules/tree-sitter-cli/tree-sitter ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19) at onErrorNT (node:internal/child_process:478:16) at processTicksAndRejections (node:internal/process/task_queues:83:21) Emitted 'error' event on ChildProcess instance at: at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12) at onErrorNT (node:internal/child_process:478:16) at processTicksAndRejections (node:internal/process/task_queues:83:21) { errno: -2, code: 'ENOENT', syscall: 'spawn <repo>/node_modules/tree-sitter-cli/tree-sitter', path: '<repo>/node_modules/tree-sitter-cli/tree-sitter', spawnargs: [ 'generate', '--no-bindings' ] }}
The text was updated successfully, but these errors were encountered:
Here is how I got passed the error -- feels very manual 🤔
Download release here: https://github.com/tree-sitter/tree-sitter/releases/tag/v0.20.6
cd node_modules/tree-sitter-cli cp /Downloads/tree-sitter-linux-x64.gz ./ gunzip tree-sitter-linux-x64.gz ln -s tree-sitter-linux-x64 tree-sitter
Sorry, something went wrong.
No branches or pull requests
Hello, I'm trying to test some things with tree-sitter-typescript, since tree-sitter/tree-sitter-javascript#208 got merged recently.
However, I don't know how to do anything in this repo 😅
looking at package.json, I see
scripts
-- but running them causes errors:The text was updated successfully, but these errors were encountered: