Skip to content

Bug with consult-fd: error: Found argument '--and' which wasn't expected, or isn't valid in this context #1049

Answered by maxecharel
hab25 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi! For what it's worth, I encountered the same error message as the one encountered by @hab25. In my case, the problem was due to what @minad suggested, i.e. that the version of fd was too old (8.3.1, package fd-find). I installed a newer pre-packaged (.deb) version (9.0.0), and it solved the issue.

@hab25, I may be completely wrong, but is it possible that the implementation of fd called by consult-fd is actually not the one that corresponds to the output of fd --version? On some Debian-based distros, the package available on the official repos is fd-find and the related command is fdfind, not fd. Could it be that two versions --- e.g. an old fdfind from the official repos and a fd that…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@minad
Comment options

@hab25
Comment options

@minad
Comment options

@maxecharel
Comment options

Answer selected by hab25
@hab25
Comment options

@maxecharel
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1048 on June 25, 2024 04:41.