Package Details: flow 0.180.1-1

Git Clone URL: (read-only, click to copy)
Package Base: flow
Description: A static type checker for JavaScript
Upstream URL:
Keywords: checker facebook flow flowtype javascript static type
Licenses: MIT
Submitter: Gordin
Maintainer: dpeukert
Last Packager: dpeukert
Votes: 14
Popularity: 0.000000
First Submitted: 2014-11-19 15:18 (UTC)
Last Updated: 2022-06-24 07:26 (UTC)

Pinned Comments

dpeukert commented on 2022-06-24 07:31 (UTC)

Not updating to 0.181.0 for now, as that requires ocaml 4.14.0.

dpeukert commented on 2020-07-06 17:29 (UTC) (edited on 2020-09-26 17:55 (UTC) by dpeukert)

The PKGBUILD for this package is hosted here (contributions are welcome!):

Latest Comments

dpeukert commented on 2022-06-24 07:31 (UTC)

Not updating to 0.181.0 for now, as that requires ocaml 4.14.0.

dpeukert commented on 2021-07-31 18:09 (UTC)


dpeukert commented on 2021-07-31 14:23 (UTC) (edited on 2021-07-31 17:20 (UTC) by dpeukert)

Huh, getting some errors while building. Looking into it, you can use flow-bin for now.

File "src/stubs/", line 116, characters 41-42:
116 | let ephemeral_command_success ?json_data:_ ~client_context:_ ~profiling:_ = ()
Error (warning 16 [unerasable-optional-argument]): this optional argument cannot be erased.

File "src/stubs/", line 118, characters 41-42:
118 | let ephemeral_command_failure ?json_data:_ ~client_context:_ = ()
Error (warning 16 [unerasable-optional-argument]): this optional argument cannot be erased.

dpeukert commented on 2021-07-31 13:42 (UTC)

@JKAbrams: That looks like it could be caused one of the packages mentioned (ocaml-sexplib and ocaml-parsexp) being built with an older version of ocaml. I've bumped all my ocaml packages because of the ocaml 4.12.0 update being released anyway, so that should hopefully fix it. If that doesn't work, you can try uninstalling and reinstalling all your ocaml packages. Or you can use the flow-bin package.

JKAbrams commented on 2021-07-20 20:35 (UTC) (edited on 2021-07-20 20:36 (UTC) by JKAbrams)

Getting a build error since the latest version update (Version: 0.155.1-1):

File "_none_", line 1:
Error: Files /usr/lib/ocaml/sexplib/sexplib.cmxa
   and /usr/lib/ocaml/parsexp/parsexp.cmxa
   make inconsistent assumptions over implementation Parsexp
Command exited with code 2.
Compilation unsuccessful after building 1685 targets (0 cached) in 00:08:05.
make: *** [Makefile:362: build-flow] Error 10

dpeukert commented on 2020-07-06 17:29 (UTC) (edited on 2020-09-26 17:55 (UTC) by dpeukert)

The PKGBUILD for this package is hosted here (contributions are welcome!):

dpeukert commented on 2020-06-21 13:22 (UTC)

@TheGoliath I haven't had much time to work on this recently, but IIRC the last remaining dependency I was having problems with was ocaml-sedlex, so when I get that fixed, it should hopefully work.

dpeukert commented on 2020-03-21 23:01 (UTC)

More progress, I've become the maintainer of most of the dependencies of this package and fixed them all up. Only and left now.

dpeukert commented on 2020-01-22 09:01 (UTC) (edited on 2020-02-03 14:34 (UTC) by dpeukert)

Hey, just a heads-up, I've packaged the missing OCAML dependencies and reported existing out-of-date dependencies to their respective maintainers. Once they're updated, I can continue further in getting this updated.

dpeukert commented on 2020-01-14 19:17 (UTC) (edited on 2020-01-14 19:17 (UTC) by dpeukert)

Hi everyone, I've adopted this package and I'm looking into fixing it up ASAP. Meanwhile, you can use the flow-bin package (, which has been updated to the latest version.

lxndr commented on 2018-12-06 22:45 (UTC)

Could you please update this package?

jtgoguen commented on 2017-05-12 04:30 (UTC)

There's a build error I've been trying to track down a fix for blocking this. Output is at if anyone knows ocaml and can help out.

jtgoguen commented on 2016-11-22 16:13 (UTC)

This is going to take a little while, there's now a bunch of nodejs build dependencies without existing packages.

jtgoguen commented on 2016-04-22 16:25 (UTC)

Along with the version bump I added a FLOW_RUNTESTS_PARALLELISM limit. If the environment variable is defined it'll just run 'make test', if not defined it runs 'make test' with FLOW_RUNTESTS_PARALLELISM=4.

potatoe commented on 2016-04-20 17:05 (UTC)

I'm hitting out-of-memory errors during the test/check phase of the build with 0.23.0-1 (I was able to build previous versions). I only have 16GB of RAM and no swap. I can successfully build by running fewer tests in parallel than the default. If anyone else runs into this, you'll want to set the environment variable FLOW_RUNTESTS_PARALLELISM to a lower number (it defaults to 16). I used 4, which seems to require only about 8GB of RAM (16 parallel tests would presumably require somewhere around 32GB or RAM). Even if you are able to build, if you're hitting your swap it might be faster overall to run fewer tests in parallel to avoid swapping. I just edited the PKGBUILD to just call 'FLOW_RUNTESTS_PARALLELISM=4 make test' instead of 'make test', but it should also be possible to pass the variable as part of the environment through to makepkg if you don't want to edit the file.

jtgoguen commented on 2016-03-12 18:59 (UTC)

Looks like 0.22.2 got removed, 0.22.1 is latest now.

jtgoguen commented on 2016-03-03 22:34 (UTC)

I'm travelling for the next week and a bit without my laptop, the update to 0.22.2 will be delayed unless someone else wants to jump on as co-maintainer. The update should be as simple as updating the version number and the shasum.

Svenstaro commented on 2015-11-19 20:44 (UTC)

You can just use for now.

jtgoguen commented on 2015-11-19 20:33 (UTC)

Yup, looks like it works. That's going to be annoying. So I guess we're stuck waiting for the next release.

jtgoguen commented on 2015-11-19 20:27 (UTC)

Interesting, it worked before now in a different place it doesn't. Consistently. Sounds like, I'll see if a commit after that works and if so we'll just need to wait for 0.18.2+.

Svenstaro commented on 2015-11-19 19:58 (UTC) on PKGBUILD commit 076784d5f16a395a8519fc2ef91c1d160534b9e8

jtgoguen commented on 2015-11-19 01:07 (UTC)

Is that with 0.18.1-2? If you download the PKGBUILD, what's the full output of 'makepkg -sr'?

Svenstaro commented on 2015-11-18 23:08 (UTC)

I'm getting this: Error: Unbound value Debug.json_of_t

Svenstaro commented on 2015-11-11 13:28 (UTC)

The package is up for grabs. Someone go forth and maintain it.

janek commented on 2015-10-29 22:25 (UTC)

Building 0.18.1 fails due to failing git/hg check (flow code tries to get revision from git or hg but the github zip is not a git repository). echo "const char* const BuildInfo_kRevision = \"$(git rev-parse HEAD 2>/dev/null || hg identify -i)\";" > hack/utils/get_build_id.gen.c tar czf bin/flowlib.tar.gz -C lib . abort: there is no Mercurial repository here (.hg not found) Building 0.17.0 fails for me at incremental_basic also.

project0 commented on 2015-10-18 09:35 (UTC)

I am unable to build this package, it fails on the checks for incremental_basic and incremental_cycle: [✗] FAIL: incremental_basic --- incremental_basic.exp 2015-10-07 17:35:30.000000000 +0200 +++ incremental_basic.out 2015-10-18 11:31:08.015676573 +0200 @@ -1,32 +1,4 @@ - -a.js:2:17,17: number -This type is incompatible with -a.js:2:8,13: string -

Gordin commented on 2015-10-11 15:30 (UTC)

Updated to 0.17 and building works again. I'm disowning this as I don't use it any more.

test0 commented on 2015-10-10 14:36 (UTC)

Version 0.17.0 is out

NullDivision commented on 2015-09-24 10:54 (UTC)

Version 0.16.0 is out

untitaker commented on 2015-09-09 17:51 (UTC)

The examples don't seem to exist and the build process fails because of this.

auk commented on 2015-08-05 05:37 (UTC)

0.14.0 released 2015-07-29

mizux commented on 2015-07-07 11:40 (UTC)

0.13.1 out:

0xR commented on 2015-06-07 10:54 (UTC)

0.11 is out

jakobw commented on 2015-05-05 13:38 (UTC)

I have submitted a binary package:

jakobw commented on 2015-05-05 12:10 (UTC)

Please update this package or disown it. v. 0.10 is out.

Gordin commented on 2015-03-19 14:51 (UTC)

@kenny_r Most likely your build fails because you are using an AUR wrapper that breaks stuff like yaourt. Download the PKGBUILD and run makepkg and you should be fine. (Maybe file a bug against your AUR wrapper) This packages uses source code instead of the binaries because this is not a binary package. If it was, it would be called flow-bin instead of flow. Also, please click "Flag package out-of-date" to flag a package that is out of date, I may noy read the comments here all the time.

kenny_r commented on 2015-03-19 12:32 (UTC)

Building fails on my machine. Passed: 103, Failed: 8, Skipped: 4 Makefile:134: recipe for target 'test' failed make: *** [test] Error 8 ==> ERROR: A failure occurred in check(). Aborting... ==> ERROR: Makepkg was unable to build flow. Why don't you just use the pre-compiled releases they host on github? Also: 0.6.0 is out.

Gordin commented on 2015-03-12 22:22 (UTC)

updated to 0.5.0 Sorry for the delay

prurigro commented on 2015-03-12 22:08 (UTC)

0.5.0 is out- uploaded an updated package for anyone interested:

wbowling commented on 2015-02-11 03:36 (UTC)

0.2.0 is out

BrunoSpy commented on 2014-12-06 12:09 (UTC)

0.1.2 is out

atweiden commented on 2014-11-20 19:33 (UTC)

0.1.1 is out: