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 of flow-bin seems to fail in windows #45

Open
bruno-brant opened this issue Aug 31, 2016 · 2 comments
Open

Installation of flow-bin seems to fail in windows #45

bruno-brant opened this issue Aug 31, 2016 · 2 comments

Comments

@bruno-brant
Copy link

It seems that the post install event of flow-bin isn't being ran in Windows. Gulp fails with:

[20:06:02] Using gulpfile c:\Users\[redacted]\gulpfile.js
[20:06:02] Starting 'typecheck'...
events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: spawn c:\Users\[redacted]\node_modules\gulp-flowtype\node_modules\flow-bin\vendor\flow.exe ENOENT
    at exports._errnoException (util.js:949:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:182:32)
    at onErrorNT (internal/child_process.js:348:16)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickDomainCallback (internal/process/next_tick.js:122:9)

I was able to circumvent the issue by cding into gulp-flowtype and installing flow-bin.

@charliedowler
Copy link
Collaborator

charliedowler commented Nov 28, 2016

Hi,

Closing the issue as I don't believe this is an issue with gulp-flowtype.

I'm not a Windows user nor do I have immediate access to a dev environment to debug this, open to any contributions.

Cheers

@tyger
Copy link

tyger commented Aug 1, 2017

In the latest version flow-bin is only required as devDependency. In production mode flow-bin should be installed as peerDependency by user manually.

@charliedowler I can check the latest version on Windows, but before it's better to merge my pull request which is fixing current issues with tests in the project.

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

No branches or pull requests

3 participants