Reputation: 231
I decided to try and run Flow on some existing javascript code. There's only one external library, Ramda, and flow is throwing the following error:
(12111) infer_job THROWS: Failure("internal error: package ~/Code/chess/node_modules/ramda/package.json not found in PackageHeap")
A quick google search only turned up the actual Flow source code.
Upvotes: 2
Views: 275
Reputation: 37724
Add all the packages to the [include]
part of .flowconfig
. Like this:
[include]
../node_modules/ramda
It should start working then.
Upvotes: 2