Skip to content

chore: add init to run tree-sitter init - #77

Open
Freed-Wu wants to merge 1 commit into
tree-sitter:mainfrom
Freed-Wu:init
Open

Freed-Wu wants to merge 1 commit into
tree-sitter:mainfrom
Freed-Wu:init

Conversation

@Freed-Wu

@Freed-Wu Freed-Wu commented Oct 14, 2026 •

Copy link
Copy Markdown

For generate: true, src/parser.c doesn't exist, so
workflow for npm will failed in

npm i --omit peer --omit optional

Due to src/parser.o: No such file or directory

> tree-sitter-tmux@0.1.5 install
> node-gyp-build

gyp info it worked if it ends with ok
gyp info using node-gyp@11.5.0
gyp info using node@22.23.3 | linux | x64
gyp info find Python using Python version 3.12.3 found at "/usr/bin/python3"

gyp http GET https://nodejs.org/download/release/v22.23.3/node-v22.23.3-headers.tar.gz
gyp http 200 https://nodejs.org/download/release/v22.23.3/node-v22.23.3-headers.tar.gz
gyp http GET https://nodejs.org/download/release/v22.23.3/SHASUMS256.txt
gyp http 200 https://nodejs.org/download/release/v22.23.3/SHASUMS256.txt
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args '/opt/hostedtoolcache/node/22.23.3/x64/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/home/runner/work/tree-sitter-tmux/tree-sitter-tmux/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/opt/hostedtoolcache/node/22.23.3/x64/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/runner/.cache/node-gyp/22.23.3/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/runner/.cache/node-gyp/22.23.3',
gyp info spawn args '-Dnode_gyp_dir=/opt/hostedtoolcache/node/22.23.3/x64/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/home/runner/.cache/node-gyp/22.23.3/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/home/runner/work/tree-sitter-tmux/tree-sitter-tmux',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/home/runner/work/tree-sitter-tmux/tree-sitter-tmux/build'
  TOUCH Release/obj.target/node_modules/node-addon-api/node_addon_api_except.stamp
  CXX(target) Release/obj.target/tree_sitter_tmux_binding/bindings/node/binding.o
  SOLINK_MODULE(target) Release/obj.target/tree_sitter_tmux_binding.node
/usr/bin/ld: cannot find Release/obj.target/tree_sitter_tmux_binding/src/parser.o: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [tree_sitter_tmux_binding.target.mk:155: Release/obj.target/tree_sitter_tmux_binding.node] Error 1

@Freed-Wu
Freed-Wu force-pushed the init branch 10 times, most recently from 641a39b to 793f524 Compare October 14, 2026 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant