Environment
- OS: Windows 11
- Shell: PowerShell
- Rokit version: <output of
rokit --version>
Description
After updating tools with rokit update, the installed tool launchers become unusable.
For example, after updating, running:
results in:
ERROR: The system cannot find the path specified. (os error 3)
The launcher executable still exists in:
%USERPROFILE%\.rokit\bin\rojo.exe
and rokit list still reports the tool as installed.
Steps to reproduce
- Install tools using
rokit install.
- Run
rokit update.
- Execute a tool, for example:
Expected behavior
Updated tools should continue working immediately after rokit update.
Actual behavior
The launcher fails with:
ERROR: The system cannot find the path specified. (os error 3)
Workaround
Running:
restores the tools and they begin working again.
Notes
It appears that rokit update leaves the launcher pointing to an invalid tool path, while rokit install rebuilds or refreshes the installation correctly.
Environment
rokit --version>Description
After updating tools with
rokit update, the installed tool launchers become unusable.For example, after updating, running:
rojo --versionresults in:
The launcher executable still exists in:
and
rokit liststill reports the tool as installed.Steps to reproduce
rokit install.rokit update.rojo --versionExpected behavior
Updated tools should continue working immediately after
rokit update.Actual behavior
The launcher fails with:
Workaround
Running:
restores the tools and they begin working again.
Notes
It appears that
rokit updateleaves the launcher pointing to an invalid tool path, whilerokit installrebuilds or refreshes the installation correctly.