Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prebuild.sh gets conan export-pkg: error: argument -f/--format: expected one argument #307

Open
MaggieLeber opened this issue Oct 24, 2023 · 1 comment

Comments

@MaggieLeber
Copy link

MaggieLeber commented Oct 24, 2023

Running prebuild.sh

Looks like Conan has changed their command-line format?

+ conan export-pkg . -f
usage: conan export-pkg [-h] [-v [V]] [-f FORMAT] [-of OUTPUT_FOLDER] [--build-require] [-tf TEST_FOLDER] [-sb] [-r REMOTE | -nr] [--name NAME] [--version VERSION] [--user USER] [--channel CHANNEL] [-l LOCKFILE]
                        [--lockfile-partial] [--lockfile-out LOCKFILE_OUT] [--lockfile-packages] [--lockfile-clean] [--lockfile-overrides LOCKFILE_OVERRIDES] [-o OPTIONS_HOST] [-o:b OPTIONS_BUILD]
                        [-o:h OPTIONS_HOST] [-pr PROFILE_HOST] [-pr:b PROFILE_BUILD] [-pr:h PROFILE_HOST] [-s SETTINGS_HOST] [-s:b SETTINGS_BUILD] [-s:h SETTINGS_HOST] [-c CONF_HOST] [-c:b CONF_BUILD]
                        [-c:h CONF_HOST]
                        path
conan export-pkg: error: argument -f/--format: expected one argument
ERROR: Exiting with code: 2```
@MaggieLeber MaggieLeber changed the title v prebuild.sh conan export-pkg: error: argument -f/--format: expected one argument Oct 24, 2023
@MaggieLeber MaggieLeber changed the title prebuild.sh conan export-pkg: error: argument -f/--format: expected one argument prebuild.sh gets conan export-pkg: error: argument -f/--format: expected one argument Oct 24, 2023
@MattWanjia
Copy link

uninstall latest conan and install conan==1.60.1.
This worked for me.
Happy coding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants