I ran into the following error while trying to setup flow:
npm ERR! A complete log of this run can be found in:
To fix this, just add “flow”: “flow” as a new entry under “scripts” in your package.json file.
See the following link for more info: