Skip to content

error: the argument '--strip-cwd-prefix[=<when>]' cannot be used with '[path]...' #2005

@antoniojkim

Description

@antoniojkim

I'm getting an error when trying to index a project

error: the argument '--strip-cwd-prefix[=<when>]' cannot be used with '[path]...'

Usage: fd --print0 --hidden --color <when> --type <filetype> --exclude <pattern> --strip-cwd-prefix[=<when>] <pattern> [path]...

For more information, try '--help'.

The error message with the command is

projectile-files-via-ext-command: Projectile indexing command failed with exit code 2: fd -0 -H --color=never --type file --exclude .git --strip-cwd-prefix src/ tests/

where src/ and tests/ are what's specified in my .projectile file.

I can confirm that running that command in my terminal yields the same error message.

Any ideas for how to fix this?

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