I am just starting with Flow and I constantly get a crash when I try to run flow with the following error messages:
(35482) merge_job THROWS: [1] /nodejs-flow/package.json: Parsing_heaps_exceptions.Sig_requires_not_found("/nodejs-flow/package.json")
Raised at file "hashtbl.ml", line 194, characters 13-28
Called from file "src/heap/sharedMem.ml", line 683, characters 24-44
[2020-10-01 13:09:33.888] First merge internal error:
"/nodejs-flow/package.json": (0, 0) to (0, 0)
uncaught exception: Parsing_heaps_exceptions.Sig_requires_not_found("/nodejs-flow/package.json"
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] flow:check: `flow check ./src/`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] flow:check script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /**/.npm/_logs/2020-10-01T11_09_33_974Z-debug.log
this is the content of my flowconfig:
[ignore]
.*/node_modules/.*
[include]
[libs]
flow-typed
[lints]
[options]
all=true
[strict]
For the setup I ran flow init
, then I installed flow-typed
globally and ran a flow-typed install
I just ran flow check ./src/
on my code and though I get it sometimes to print out the errors I consistently get the above error code.