You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ corepack pnpm install
Lockfile is up to date, resolution step is skipped
Already up to date
>[email protected] install /Users/haoxiang/Workspace/moonbit/tree-sitter
> node-gyp rebuild
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected]| darwin | arm64
gyp info find Python using Python version 3.9.6 found at "/Applications/Xcode.app/Contents/Developer/usr/bin/python3"
gyp info spawn /Applications/Xcode.app/Contents/Developer/usr/bin/python3
gyp info spawn args [
gyp info spawn args '/Users/haoxiang/.cache/node/corepack/pnpm/9.12.3/dist/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 '/Users/haoxiang/Workspace/moonbit/tree-sitter/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/haoxiang/.cache/node/corepack/pnpm/9.12.3/dist/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/haoxiang/Library/Caches/node-gyp/20.10.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/haoxiang/Library/Caches/node-gyp/20.10.0',
gyp info spawn args '-Dnode_gyp_dir=/Users/haoxiang/.cache/node/corepack/pnpm/9.12.3/dist/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/haoxiang/Library/Caches/node-gyp/20.10.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/haoxiang/Workspace/moonbit/tree-sitter',
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' ]
CXX(target) Release/obj.target/tree_sitter_moonbit_binding/bindings/node/binding.o
../bindings/node/binding.cc:1:10: fatal error: 'tree_sitter/parser.h' file not found
1 |#include "tree_sitter/parser.h"| ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [Release/obj.target/tree_sitter_moonbit_binding/bindings/node/binding.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.<anonymous> (/Users/haoxiang/.cache/node/corepack/pnpm/9.12.3/dist/node_modules/node-gyp/lib/build.js:216:23)
gyp ERR! System Darwin 24.0.0
gyp ERR!command"/Users/haoxiang/Library/Application Support/fnm/node-versions/v20.10.0/installation/bin/node""/Users/haoxiang/.cache/node/corepack/pnpm/9.12.3/dist/node_modules/node-gyp/bin/node-gyp.js""rebuild"
gyp ERR! cwd /Users/haoxiang/Workspace/moonbit/tree-sitter
gyp ERR! node -v v20.10.0
gyp ERR! node-gyp -v v10.2.0
gyp ERR! not ok
ELIFECYCLE Command failed with exit code 1.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: