Skip to content
New issue

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

Installation error #41

Closed
smgl9 opened this issue Mar 14, 2020 · 5 comments · Fixed by #50
Closed

Installation error #41

smgl9 opened this issue Mar 14, 2020 · 5 comments · Fixed by #50
Labels
bug Something isn't working

Comments

@smgl9
Copy link

smgl9 commented Mar 14, 2020

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.

2020-03-14T11_43_03_639Z-debug.log

@smgl9
Copy link
Author

smgl9 commented Mar 14, 2020

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 request/request#3142

But in Linux is working anyway.

@drom
Copy link
Collaborator

drom commented Mar 15, 2020

Thank you for reporting. I will try finding Windows machine to debug the issue.
Looks like it can't find node-gyp to spawn 🤔
Can you try installing node-gyp https://github.com/nodejs/node-gyp#on-windows ?

@drom drom added the bug Something isn't working label Mar 15, 2020
@smgl9
Copy link
Author

smgl9 commented Mar 19, 2020

I tried what you suggested, following the installation instructions, configuring the paths, etc. But there is no success :(

@qarlosalberto
Copy link

Any news?

Thank you!

@qarlosalberto
Copy link

Maybe it's related: georgewfraser/vscode-tree-sitter#28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants