Hi.
Did you ever encounter a behavior where the create-symlinks commands occasionaly miss-places symlinks from the root node_modules into the root, instead of packages/*/node_modules/?
To possibly illustrate this more clearly:
- package.json
- node_modules/
- addon-notes
- …
- ↗ addon-notes
- packages/xyz/node_modules/
The ↗ addon-notes is the misplaced link to node_modules/addon_notes/.
It should be in packages/xyz/node_modules/, but it's missing there (so it's not a copy, but rather a misfire).
We've bump into this because it fails our lint CI jobs as it get's picked up by eslint, but would eventually cause flow errors as well since the module wouldn't be found in the package…
As of yesterday this started to happen semi-regularly on my dev machine as well (like 2 out of 4 tries).
If you have a hunch for a place that might be the culprit for some race-condition type of error, I'd be ready to help with tracking it down.