-
Notifications
You must be signed in to change notification settings - Fork 761
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
"No preset version installed, Please install a version" when version is already installed [golang] #914
Comments
I hit this as well with the Ruby plugin |
A few questions:
|
I understand why this might be difficult to fix directly, possibly infeasibly difficult. In that case, I think I would prefer a better error message. The current message is
This would require detecting that
|
@firelizzard18 Yes, we need to improve the error here. We need to identify between
I will close this issue since you resolved it with #557 outlines a similar issue (this error message is output) but with Ruby and a missing required shim which was caused by an upstream Ruby change. |
I faced the same problem. Here was my steps to fix the problem
|
Yes, you're going to run into this issue when you do a |
For lost googlers: be careful not to have legacy settings such as a ".nvmrc", this message can mean that asdf is trying to use the version listed in your ".nvmrc" while it's not installed. Either remove the ".nvmrc" to replace by a ".tool-versions", install the required version of node, or update ".nvmrc" to a version that is installed on your machine. |
for me the next time I run into this problem...
|
This actually was the only thing that worked for me, sadly, I tried all the builtin commands. |
for anyone stopping by because they've got such an error with nodejs, check out: asdf-vm/asdf-nodejs#295 |
When execute |
Describe the bug
asdf
tells me "no preset version installed, please install " when that version is already installed.To Reproduce
Expected behavior
Delve should run
Actual behavior
I get a useless (and wrong) error message.
Environment
OS: Darwin Kalorme 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec 2 20:39:59 PST 2020; root:xnu-7195.60.75~1/RELEASE_X86_64 x86_64 SHELL: zsh 5.8 (x86_64-apple-darwin20.0) ASDF VERSION: v0.8.0 ASDF ENVIRONMENT VARIABLES: ASDF_DIR=/usr/local/opt/asdf ASDF INSTALLED PLUGINS: golang https://github.com/kennyp/asdf-golang.git minio https://github.com/aeons/asdf-minio.git nodejs https://github.com/asdf-vm/asdf-nodejs.git postgres https://github.com/smashedtoatoms/asdf-postgres.git protoc https://github.com/paxosglobal/asdf-protoc.git python https://github.com/danhper/asdf-python.git redis https://github.com/smashedtoatoms/asdf-redis.git ruby https://github.com/asdf-vm/asdf-ruby.git yarn https://github.com/twuni/asdf-yarn.git
The text was updated successfully, but these errors were encountered: