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

Error: spawn UNKNOWN #24

Closed
jerrygreen opened this issue Dec 17, 2020 · 7 comments
Closed

Error: spawn UNKNOWN #24

jerrygreen opened this issue Dec 17, 2020 · 7 comments

Comments

@jerrygreen
Copy link

I installed hyp and tried to use ls command from the README:

hyp ls hyper://515bbbc1db2139ef27b6c45dfa418c8be6a1dec16823ea7cb9e61af8d060049e/

image

Other commands don't work either:

image

Context

Node version: v14.15.2
Bash version: GNU bash, version 4.4.23(1)-release (x86_64-pc-msys)

@andrewosh
Copy link
Member

Thanks for the issue @jerrygreen. Are you on Windows?

@jerrygreen
Copy link
Author

@andrewosh yup

@andrewosh
Copy link
Member

Gotcha. Windows testing is definitely our weakness :) We'll look into this!

@jerrygreen
Copy link
Author

@andrewosh might worth mentioning, that I used the "Git Bash" (NOT cmd.exe), - a windows-version of Bash, which comes together with git scm (which is pretty much the same GNU Bash, except it copies files when using ln commands, instead of creating symlinks, because Windows doesn't support symlinks).

Though I'm not sure if it's a problem with Bash, - also likely the problem with Node. Can't say for sure.

@pfrazee
Copy link
Contributor

pfrazee commented Dec 18, 2020

Fixed in 1.3.1. We were spawning the daemons by calling the .js files, which depends on the she-bang behavior which ofc windows doesn't support. Fixed by changing the spawn command to node <daemon-script>.

@jerrygreen
Copy link
Author

Works like a charm now! Thanks

Though there are still some quirks elsewhere, for example hyp version:

image

Even though it installed 1.3.1:

image

0.0.2 is a version listed in my current folder's package.json, - if I cd into another project, hyp --version shows another version. Not sure if it's related to some Windows stuff, or what is that. Not crucial, so gonna play with this thing anyway :) Thanks again

@pfrazee
Copy link
Contributor

pfrazee commented Dec 19, 2020

Ahh lovely, thanks. I'll file another issue

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

No branches or pull requests

3 participants