这是indexloc提供的服务,不要输入任何密码
Skip to content

Turbo can't find any packages in the defined workspaces if current dir is a symbolic link #920

@olethomas

Description

@olethomas

What version of Turborepo are you using?

1.1.9

What package manager are you using / does the bug impact?

npm

What operating system are you using?

Linux

Describe the Bug

When the current directory is a symbolic link, turbo can't find any packages in the defined workspaces. When current directory is not a symbolic link it runs as expected.

Config:

"workspaces": [
    "tools/*",
    "packages/plugins/*",
    "packages/themes/*",
    "packages/styles/*"
],

Output when current dir is symbolic:

turbo run build
Packages in scope: 
Running build in 0 packages

Tasks:    0 successful, 0 total
Cached:    0 cached, 0 total
Time:    11ms >>> FULL TURBO

Related: #549 (comment)

Expected Behavior

Turbo builds based on the packages defined in workspaces

To Reproduce

Put the root directory of your project in a symbolic link

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