tree-sitter-verilog
tree-sitter-verilog copied to clipboard
Installation error
Hi,
I can not figure out why the installation fails on Windows when it was working two/three moths ago. https://github.com/TerosTechnology/colibri/runs/400677109?check_suite_focus=true In Linux is working fine. Is this something directly related with tree-sitter-verilog?
Thanks in advance, I really apreciate your work on GitHub.
> [email protected] install C:\Users\isma\node_modules\tree-sitter-verilog
> node bin/install.js
build
events.js:288
throw er; // Unhandled 'error' event
^
Error: spawn node-gyp ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)
at onErrorNT (internal/child_process.js:469:16)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
Emitted 'error' event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:273:12)
at onErrorNT (internal/child_process.js:469:16)
at processTicksAndRejections (internal/process/task_queues.js:84:21) {
errno: 'ENOENT',
code: 'ENOENT',
syscall: 'spawn node-gyp',
path: 'node-gyp',
spawnargs: [ 'configure', 'build' ]
}
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\isma\package.json'
npm WARN isma No description
npm WARN isma No repository field.
npm WARN isma No README data
npm WARN isma No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node bin/install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Taking a look into the logs, it seems that the problem is in a deprecated library, that's the difference between fail and success: npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
But in Linux is working anyway.
Thank you for reporting. I will try finding Windows machine to debug the issue.
Looks like it can't find node-gyp
to spawn :thinking:
Can you try installing node-gyp
https://github.com/nodejs/node-gyp#on-windows ?
I tried what you suggested, following the installation instructions, configuring the paths, etc. But there is no success :(
Any news?
Thank you!
Maybe it's related: https://github.com/georgewfraser/vscode-tree-sitter/issues/28