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

flow-bin NPM package not finding binary on Windows? #2288

Closed
Daniel15 opened this issue Aug 19, 2016 · 3 comments
Closed

flow-bin NPM package not finding binary on Windows? #2288

Daniel15 opened this issue Aug 19, 2016 · 3 comments

Comments

@Daniel15
Copy link
Member

I'm trying to configure a Windows AppVeyor build for Jest, but it's resulting in the following error while running npm install:

> [email protected] postinstall C:\projects\jest\node_modules\flow-bin
> node lib/install.js
  × No binary found matching your system. It's probably not supported.
  × flow binary test failed

My understanding is that Flow v0.30 adds support for Windows, so this should be working now, right?

@Daniel15
Copy link
Member Author

Flow requires a 64-bit version of Node to be running. Needed to update the AppVeyor config to use 64-bit Node.js:

environment:
  matrix:
    - nodejs_version: "4"
    - nodejs_version: "6"

install:
  - ps: Install-Product node $env:nodejs_version x64

@vkurchatkin
Copy link
Contributor

That's weird, probably flow-bin incorrectly assumes that if node is 32 bit, than OS is 32 bit too

@Daniel15
Copy link
Member Author

Yeah, bin-wrapper (which flow-bin uses) makes that faulty assumption. Filed a task at kevva/bin-wrapper#48

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

2 participants