Skip to content

BUG : Incorrect asdf version detection #59

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

Closed
feltroidprime opened this issue May 24, 2025 · 0 comments · Fixed by #60 or #61
Closed

BUG : Incorrect asdf version detection #59

feltroidprime opened this issue May 24, 2025 · 0 comments · Fixed by #60 or #61

Comments

@feltroidprime
Copy link
Contributor

feltroidprime commented May 24, 2025

@feltroidprime ➜ /workspaces/sp1-starknet-template (main) $ curl --proto '=https' --tlsv1.2 -sSf https://sh.starkup.sh | sh
starkup: info: Installing compatible version set...
starkup: info: asdf-vm is required but not found.
For seamless updates, install it using a package manager (e.g., Homebrew, AUR helpers). See details: https://asdf-vm.com/guide/getting-started.html.
Alternatively, the script can install asdf-vm directly, but manual updates might be needed later.
Proceed with direct installation? (y/N):
y
starkup: info: Downloading asdf-vm 0.17.0...
starkup: info: asdf-vm has been installed.
No plugins installed
No plugins installed
No plugins installed
No plugins installed
Installing extensions on Codespaces: glorious enigma...
Installing extension 'starkware.cairo1'...
Extension 'starkware.cairo1' v3.1.1 was successfully installed.
No plugins installed
No compatible versions installed (scarb )
* Downloading scarb release 2.11.4...
scarb 2.11.4 installation was successful!
invalid command provided: global

version: v0.17.0 (revision fc87e22)

MANAGE PLUGINS
asdf plugin add <name> [<git-url>]      Add a plugin from the plugin repo OR,
                                        add a Git repo as a plugin by
                                        specifying the name and repo url
asdf plugin list [--urls] [--refs]      List installed plugins. Optionally show
                                        git urls and git-ref
asdf plugin list all                    List plugins registered on asdf-plugins
                                        repository with URLs
asdf plugin remove <name>               Remove plugin and package versions
asdf plugin update <name> [<git-ref>]   Update a plugin to latest commit on
                                        default branch or a particular git-ref
asdf plugin update --all                Update all plugins to latest commit on
                                        default branch


MANAGE TOOLS
asdf current                            Display current version set or being
                                        used for all packages
asdf current <name>                     Display current version set or being
                                        used for package
asdf help <name> [<version>]            Output documentation for plugin and tool
asdf install                            Install all the package versions listed
                                        in the .tool-versions file
asdf install <name>                     Install one tool at the version
                                        specified in the .tool-versions file
asdf install <name> <version>           Install a specific version of a package
asdf install <name> latest[:<version>]  Install the latest stable version of a
                                        package, or with optional version,
                                        install the latest stable version that
                                        begins with the given string
asdf latest <name> [<version>]          Show latest stable version of a package
asdf latest --all                       Show latest stable version of all the
                                        packages and if they are installed
asdf list <name> [version]              List installed versions of a package and
                                        optionally filter the versions
asdf list all <name> [<version>]        List all versions of a package and
                                        optionally filter the returned versions
asdf set [-u] [-p] <name> <versions...> Set a tool version in a .tool-version in
                                        the current directory, or a parent
                                        directory.
asdf uninstall <name> <version>         Remove a specific version of a package
asdf where <name> [<version>]           Display install path for an installed
                                        or current version
asdf which <command>                    Display the path to an executable


UTILS
asdf exec <command> [args...]           Executes the command shim for current version
asdf env <command> [util]               Runs util (default: `env`) inside the
                                        environment used for command shim execution.
asdf info                               Print OS, Shell and ASDF debug information.
asdf version                            Print the currently installed version of ASDF
asdf reshim <name> <version>            Recreate shims for version of a package
asdf shimversions <command>             List the plugins and versions that
                                        provide a command

RESOURCES
GitHub: https://github.com/asdf-vm/asdf
Docs:   https://asdf-vm.com


"Late but latest"
-- Rajinikanth
starkup: error: command failed: asdf global scarb 2.11.4

@feltroidprime ➜ /workspaces/sp1-starknet-template (main) $ asdf --version
asdf version v0.17.0 (revision fc87e22)

Detects as legacy while it shouldn't.

Likely related : #58

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