-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
case studyPackage compatibility reportPackage compatibility report
Description
What package is covered by this investigations?
flow-bin
Describe the goal of the investigation
It should be possible to use flow in a codebase.
Investigation report
I've put together a small repo demonstrating that flow doesn't work with yarn v2: https://github.com/lhorie/flow-berry
# repro steps
git clone git@github.com:lhorie/flow-berry.git
cd flow-berry
yarn
yarn flow
Produces this error:
internal/child_process.js:366
throw errnoException(err, 'spawn');
^
Error: spawn ENOTDIR
at ChildProcess.spawn (internal/child_process.js:366:11)
at spawn (child_process.js:551:9)
at Object.<anonymous> (/Users/lhorie/Documents/flow-berry/.yarn/cache/flow-bin-npm-0.114.0-2e7dec7caf-1.zip/node_modules/flow-bin/cli.js:14:3)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at Function.external_module_default.a._load (/Users/lhorie/Documents/flow-berry/.pnp.js:7963:14)
at Function.Module.runMain (internal/modules/cjs/loader.js:829:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
I've also tried suggestions from this thread, but without success.
Flow works w/ yarn 1.x and npm
thecotne, chrisdothtml, sumanthratna, EvHaus, valscion and 3 morevalscion
Metadata
Metadata
Assignees
Labels
case studyPackage compatibility reportPackage compatibility report