Summary
In EasyCLI v0.1.32, Local Mode fails during the version check step and shows:
Error checking version: undefined
Environment
- OS: Windows 10 x64
- EasyCLI version:
v0.1.32
- Mode:
Local
Steps to reproduce
- Launch EasyCLI
- Select
Local
- Click
Connect
- Wait for version check
Actual result
A red toast appears:
Error checking version: undefined
Expected result
EasyCLI should successfully check the latest CLIProxyAPI release and continue with download / setup.
Root cause
EasyCLI appears to still use the old GitHub release API endpoint:
https://api.github.com/repos/luispater/CLIProxyAPI/releases/latest
That endpoint now returns 404.
The current valid release API is:
https://api.github.com/repos/router-for-me/CLIProxyAPI/releases/latest
So Local Mode cannot complete the version check.
Additional note
There also seems to be an error-handling issue in the frontend:
when the request fails, the UI shows undefined instead of the actual error details.
Suggested fix
-
Replace the old release API URL:
- from
luispater/CLIProxyAPI
- to
router-for-me/CLIProxyAPI
-
Improve frontend error handling so the real error is shown instead of:
Error checking version: undefined
Thanks.
Summary
In EasyCLI
v0.1.32, Local Mode fails during the version check step and shows:Error checking version: undefinedEnvironment
v0.1.32LocalSteps to reproduce
LocalConnectActual result
A red toast appears:
Error checking version: undefinedExpected result
EasyCLI should successfully check the latest CLIProxyAPI release and continue with download / setup.
Root cause
EasyCLI appears to still use the old GitHub release API endpoint:
https://api.github.com/repos/luispater/CLIProxyAPI/releases/latestThat endpoint now returns
404.The current valid release API is:
https://api.github.com/repos/router-for-me/CLIProxyAPI/releases/latestSo Local Mode cannot complete the version check.
Additional note
There also seems to be an error-handling issue in the frontend:
when the request fails, the UI shows
undefinedinstead of the actual error details.Suggested fix
Replace the old release API URL:
luispater/CLIProxyAPIrouter-for-me/CLIProxyAPIImprove frontend error handling so the real error is shown instead of:
Error checking version: undefinedThanks.