asdf-nodejs
asdf-nodejs copied to clipboard
asdf: Warn: You have configured asdf to preserve downloaded files (with always_keep_download=yes or --keep-download). But asdf: Warn: the current plugin (nodejs) does not support that. Downloaded files will not be preserved.
Hi,
I'm getting this warning when installing nodejs:
> asdf install nodejs 20.11.0
....
asdf: Warn: You have configured asdf to preserve downloaded files (with always_keep_download=yes or --keep-download). But
asdf: Warn: the current plugin (nodejs) does not support that. Downloaded files will not be preserved.
> asdf --version
v0.13.1-0586b37
same as me. but no problem using it though.
❯ asdf --version
v0.14.0
❯ LANG=C asdf plugin-update --all
Location of nodejs plugin: /path/to/.asdf/plugins/nodejs
Updating nodejs to master
Already on 'master'
Your branch is up to date with 'origin/master'.
❯ asdf install nodejs 20.11.1
Trying to update node-build... ok
Downloading node-v20.11.1-darwin-arm64.tar.gz...
-> https://nodejs.org/dist/v20.11.1/node-v20.11.1-darwin-arm64.tar.gz
Installing node-v20.11.1-darwin-arm64...
Installed node-v20.11.1-darwin-arm64 to /path/to/.asdf/installs/nodejs/20.11.1
asdf: Warn: You have configured asdf to preserve downloaded files (with always_keep_download=yes or --keep-download). But
asdf: Warn: the current plugin (nodejs) does not support that. Downloaded files will not be preserved.
❯ asdf local nodejs 20.11.1
❯ node --version
v20.11.1
To disable that warning, you can place in your $HOME/.asdfrc (or other setting equivalent) this line:
always_keep_download = yes
I know it should be a no based on the warning, but there appears to be a bug where the opposite holds.