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

bug: Migration notice still shows up after upgrading to 16.1 #1902

Open
Arp-G opened this issue Feb 6, 2025 · 0 comments
Open

bug: Migration notice still shows up after upgrading to 16.1 #1902

Arp-G opened this issue Feb 6, 2025 · 0 comments
Labels

Comments

@Arp-G
Copy link

Arp-G commented Feb 6, 2025

Describe the Bug

Hi, I recently upgraded to asdf 16.1 following the migration guide.

❯ asdf --version
asdf version 0.16.1

However whenever I run any command like node or iex I get the notice which says

You have tried to upgrade to asdf 0.16.0 or newer....

This is the content of my .zshrc file that is relevant

# ASDF Setup
export PATH=/opt/homebrew/bin:/Users/arpan/.asdf/shims:/Users/arpan/.asdf/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin

# asdf binary
export PATH="$HOME/bin:$PATH"

# set asdf data directory and shims
export ASDF_DATA_DIR="/Users/arpan/.asdf"
export PATH="$ASDF_DATA_DIR/shims:$PATH"

Can someone please help or point me to why this might be happening

Thanks

Steps to Reproduce

Whenever I run any command like node or iex I get the notice which says

You have tried to upgrade to asdf 0.16.0 or newer....

Expected Behaviour

Since I have upgraded to version 16.1 I should no longer see the notice when running binaries

Actual Behaviour

❯ node
----------

NOTICE:

You have tried to upgrade to asdf 0.16.0 or newer. Versions 0.16.0 is a
complete rewrite of asdf in Go. This text is being printed by the older
Bash implementation. If you are seeing this you have not migrated to
asdf 0.16.0. Please follow the instructions on the upgrade guide to
migrate to the new version.

Aside from this notice, this older Bash implementation works as it did
in asdf version 0.15.0 and older.

Migration guide: https://asdf-vm.com/guide/upgrading-to-v0-16
asdf website: https://asdf-vm.com
Source code: https://github.com/asdf-vm/asdf


Welcome to Node.js v16.12.0.
Type ".help" for more information.
>

Environment

OS:
Darwin Arpans-MacBook-Pro.local 24.0.0 Darwin Kernel Version 24.0.0: Tue Sep 24 23:37:36 PDT 2024; root:xnu-11215.1.12~1/RELEASE_ARM64_T6020 arm64

SHELL:
zsh 5.9 (arm64-apple-darwin24.0)

BASH VERSION:
3.2.57(1)-release

ASDF VERSION:
0.16.1

ASDF INTERNAL VARIABLES:
ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.tool-versions
ASDF_DATA_DIR=/Users/arpan/.asdf
ASDF_CONFIG_FILE=/Users/arpan/.asdfrc

ASDF INSTALLED PLUGINS:
chezmoi   https://github.com/joke/asdf-chezmoi.git            f38d3a8debc8e64982219e7c6528c24f2f4cbd6f
elixir    https://github.com/asdf-vm/asdf-elixir.git          ea842831ae39417f2dfe7b96fb0c3cc573314aa6
erlang    https://github.com/asdf-vm/asdf-erlang.git          0e617b61ece7cff73331aacc1cd9986e35618c41
ffmpeg    https://github.com/acj/asdf-ffmpeg                  a6b925d29572435619e76c5f46276aa9db56b36c
java      https://github.com/halcyon/asdf-java.git            22504c2eb7e9ff6dc26506620419a56953362079
nodejs    https://github.com/asdf-vm/asdf-nodejs.git          93bd217ba74f05080eebb7d8e1c146a385b01d7f
php       https://github.com/asdf-community/asdf-php.git      52c669a77f08ec81caff47d560476d2ba1b176b9
postgres  https://github.com/smashedtoatoms/asdf-postgres.git acbbc49a78c40225a7ae8fe1eb14ce9ff96c64ce
rabbitmq  https://github.com/w-sanches/asdf-rabbitmq.git      25c17caeccbae3ab84d68244f442c23a5deba59f
redis     https://github.com/smashedtoatoms/asdf-redis.git    d5a67c5c1f9023f0eafdc0256b072bd7189a3c59
ruby      https://github.com/asdf-vm/asdf-ruby.git            059cdee5b02c5a5569a5858e2a379f84dbdb95d7
rust      https://github.com/code-lever/asdf-rust.git         95acf4fe65df1de74fca502482b8f3ac5af73c05
yarn      https://github.com/twuni/asdf-yarn.git              376c5407ef22c82fa56e4bd9f6a9108354063acb

asdf plugins affected (if relevant)

No response

@Arp-G Arp-G added the bug label Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant