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

turbo prune fails when renaming yarn-tmp.lock file #503

@maximeMD

Description

@maximeMD

What version of Turborepo are you using?

1.0.24

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

Yarn v1

What operating system are you using?

Windows

Describe the Bug

First, thanks for you amazing work 😄 👍

Whenever I use yarn turbo prune --scope=web , even with the default starter, i get the following error :

ERROR Failed finalize lockfile: rename C:\Users\xxxxxxxx\test-turborepo\out\yarn-tmp.lock C:\Users\xxxxxxxx\test-turborepo\out\yarn.lock: The process cannot access the file because it is being used by another process.

Expected Behavior

Finish the turbo prune command without any error

To Reproduce

npx create-turbo@1.0.24
cd my-turborepo
yarn turbo prune --scope=web

Node v16.13.1
Windows 10

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