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 C:\...\bin\khaos-create ENOENT on Windows #89

Open
ArtskydJ opened this issue Dec 22, 2015 · 3 comments
Open

Error: spawn C:\...\bin\khaos-create ENOENT on Windows #89

ArtskydJ opened this issue Dec 22, 2015 · 3 comments

Comments

@ArtskydJ
Copy link

On Windows:

C:\Users\Michael\Github\ktest>khaos create segmentio.khaos-node my-new-project


events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: spawn C:\Users\Michael\AppData\Roaming\nvm\v4.2.1\node_modules\khaos\bin\khaos-create ENOENT
    at exports._errnoException (util.js:874:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
    at onErrorNT (internal/child_process.js:344:16)
    at doNTCallback2 (node.js:439:9)
    at process._tickCallback (node.js:353:17)
    at Function.Module.runMain (module.js:469:11)
    at startup (node.js:134:18)
    at node.js:961:3

The problem is that windows does not recognize shebangs, so this spawn does not work.

@apieceofbart
Copy link

any news on fixing that?

@ArtskydJ
Copy link
Author

I made a PR with a fix, but this project doesn't seem to be (actively) maintained, so I haven't heard anything from any maintainers...

@apieceofbart
Copy link

yeah, I saw it - great job! I was hoping my comment would get some attention from the owner..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants