Open samdeane opened 1 year ago
Any resolutions? Unable to install nodejs 12 dependencies, keeps asking to install nodejs 12 but I already have, have updated asdf and have re-shimmed.
seeing the same issue with golang. I installed golang 1.21.6
with asdf
. I can set it and see version 1.21.6
in my .tool-versions
I've updated asdf, reshimmed, and tried the solution outlined in this comment but its still broken.
Update - I use IntelliJ and found in their forum that I needed to change my node interpreter, which is working. I still cannot use npm from command line
seen same problem on mac with ruby
asdf version 0.14.0
I've seen this as well with command installed via npm install -g
Normally, I use asdf reshim
to fix problems where ASDF forgets that it needs to update shims. However, running asdf reshim
for Go executables (e.g. go install ./...
) appears to break things.
$ cat .tool-versions
golang 1.23.2
$ hello-world
No preset version installed for command hello-world
Please install a version by running one of the following:
asdf install golang 1.23.2
or add one of the following versions in your config file at /Users/lo40/go/src/bitbucket.us.sunlife/SecOps/hello-world-go/.tool-versions
golang 1.22.2
I don't know why asdf reshim
is creating malformed shims, but I plan to refrain from using this command for awhile.
Describe the Bug
asdf is complaining
No preset version installed for command flutter
however, when I run the recommended command:
asdf install flutter 3.13.6
it says:flutter 3.13.6 is already installed
And indeed it is in my
.tool-versions
:and asdf thinks it is selected:
Steps to Reproduce
See above description.
Expected Behaviour
Either flutter should actually need installing, or I should not get an error telling me to install it.
Actual Behaviour
See above
Environment
asdf plugins affected (if relevant)
flutter git@github.com:oae/asdf-flutter.git master 5151ecb