You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have flow-bin installed in a parent package (since I want to keep my versioning in one place).
I have sub-packages, each with their own package.json. Unfortunately, trying to run flow-typed on these packages fails, because it can't find flow-bin:
cd UNCAUGHT ERROR: Error: Failed to find a flow-bin dependency in package.json.
Please install flow-bin: `npm install --save-dev flow-bin`
flow-typed should be smart enough to walk up the directory tree of package.json files looking for flow-bin, instead of checking only the current package.json.
The text was updated successfully, but these errors were encountered:
If you could specify the directory of the package.json where flow-bin in installed, would that be good enough? Kinda like how they did it here: import-js/eslint-plugin-import#685
To be clear, you're proposing asking the user to pass commandline args for data the code could figure out itself, right?
But yes, it would work for my purposes. I'm hiding this call behind gulp tasks, so I can just pass extra args, and won't have to remember the syntax to use it.
I have
flow-bin
installed in a parent package (since I want to keep my versioning in one place).I have sub-packages, each with their own
package.json
. Unfortunately, trying to runflow-typed
on these packages fails, because it can't findflow-bin
:flow-typed should be smart enough to walk up the directory tree of
package.json
files looking forflow-bin
, instead of checking only the currentpackage.json
.The text was updated successfully, but these errors were encountered: