Skip to content

[BUG] Windows - clean script fails (rm -rf and find are Unix-only) #201

@mynameistito

Description

@mynameistito

The root package.json clean script uses rm -rf and GNU find with -exec. Neither exists on Windows without WSL or extra tooling. Running bun run clean on Windows just fails.

"clean": "rm -rf node_modules .turbo ... && find apps packages ... -exec rm -rf {} +"

Fix would be replacing this with something cross-platform, like rimraf or a small bun script that uses fs.rmSync.


Identified with AI assistance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions