"Error" on Windows startup.
aryairani opened this issue · comments
Just added some more error details to this message in the latest release, but its likely that it can't connect to UCM.
Side note: also looks like there's some issue with the window controls (min, max, close).
@aryairani another possible reason might be if UCM is started after the desktop app is started. The app handles that case poorly right now. See #10
@DejanMilicic did you by chance start the desktop app before starting the cli? (It doesn't automatically recover if its started in the wrong order atm)
@DejanMilicic did you by chance start the desktop app before starting the cli? (It doesn't automatically recover if its started in the wrong order atm)
I just verified it one more time - I started ucm, and after that I started ucm-desktop
@DejanMilicic thanks, thats super helpful.
Ok so turns out this needs to be run with this command:
$env:UCM_TOKEN="asdf"; $env:UCM_PORT="4444"; ucm headless --allow-cors-host http://tauri.localhost
(difference is http vs https in the --allow-cors-host
option).
Close this out, use the instructions above to run the app on Windows.
I'm tracking the lack of the min, max, close buttons here: #14