-
Notifications
You must be signed in to change notification settings - Fork 337
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
Aliases in local .mise.toml
not getting interpreted?
#3324
Labels
Comments
To narrow down the problem a bit
[tools]
node = "22"
asdfnode = "21"
[alias]
asdfnode = "asdf:asdf-vm/asdf-nodejs" ☝️ Works fine [tools]
node = "22"
corenode = "21"
[alias]
corenode = "core:node" ☝️ Fails with the error you shared: Code/sandbox/misehooks
❯ RUST_BACKTRACE=1 mise install --verbose
DEBUG ARGS: /Users/syhol/.local/bin/mise install --verbose
DEBUG config: ~/Code/sandbox/misehooks/mise.toml
DEBUG config: ~/.config/mise/config.toml
Error:
0: corenode not found in mise tool registry
Location:
src/cli/args/backend_arg.rs:102
Version:
2024.11.36 macos-arm64 (0461143 2024-11-29)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⋮ 3 frames hidden ⋮
4: <core::iter::adapters::GenericShunt<I,R> as core::iter::traits::iterator::Iterator>::next::he6b108251fb7032b
at <unknown source file>:<unknown line>
5: mise::toolset::get_leaf_dependencies::h33c218efee2eaeb7
at <unknown source file>:<unknown line>
6: mise::toolset::Toolset::install_all_versions::h16a9e1858e65109b
at <unknown source file>:<unknown line>
7: mise::cli::install::Install::run::h99c4860cffbcf266
at <unknown source file>:<unknown line>
8: mise::cli::Commands::run::h9a316d4675798204
at <unknown source file>:<unknown line>
9: mise::cli::Cli::run::haef65d2bd6297280
at <unknown source file>:<unknown line>
10: mise::main::hd38f6487b30d89e0
at <unknown source file>:<unknown line>
11: std::sys::backtrace::__rust_begin_short_backtrace::hd81f169989ba05d7
at <unknown source file>:<unknown line>
12: _main<unknown>
at <unknown source file>:<unknown line>
Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets. So it seems like there's a problem using core backends in aliases. |
I thought we had a test for this but it's actually testing the inverse https://github.com/jdx/mise/blob/main/e2e/config/test_config_alias#L12 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From #323 (comment)
The text was updated successfully, but these errors were encountered: