Suggestion: volta install node
should error if node
is being shadowed by another binary in PATH
#1268
Labels
volta install node
should error if node
is being shadowed by another binary in PATH
#1268
volta setup
takes care of volta being at the front of the path. However:.profile
Today I found out the answer to question 2.
PATH
contained additional binaries by other "shim" programs, and as a result volta's shimnode
was shadowed by anothernode
I believe
volta
, on every run ofvolta install
, should check$PATH
and ensure that the just-installed command actually resolves to the shim binary. Thewhich
crate can be used for this. If that isn't the case,volta
should at least emit a warning, or even error. From a user POV, nothing was installed.The text was updated successfully, but these errors were encountered: