Skip to content
This repository was archived by the owner on May 10, 2022. It is now read-only.

create-symlinks occasionaly miss-place symlinks into the packages root #233

@kubijo

Description

@kubijo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions