Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mos fails to launch - Windows 10 #607

Open
RobertByrnes opened this issue Mar 20, 2023 · 2 comments
Open

mos fails to launch - Windows 10 #607

RobertByrnes opened this issue Mar 20, 2023 · 2 comments

Comments

@RobertByrnes
Copy link

Hi Folks,

Following the windows installation instruction referenced at https://mongoose-os.com/docs/mongoose-os/quickstart/setup.md I have now tested on 2 different Windows 10 machines. Once the .exe is installed I can start mos only once. Any subsequent attempts to start it fail with the following message:

First run of the version 2.20.0, initializing...
open C:\Users\Robert Byrnes\.mos\state.json: The system cannot find the path specified.
Error: listen tcp 127.0.0.1:1992: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.
/src/cli/ui.go:346:
/src/cli/main.go:194: ui failed

to start the application I have tried double clicking the .exe in a file explorer window and also by running the following commands in cmd:

mos
mos --verbose
mos --start-webview=false

I have tried adding ~/.mos/state.json which then generates a unexpected end of json error as the file is obvs. empty.

any ideas?

Thank you in advance for any assistance

@scaprile
Copy link

open C:\Users\Robert Byrnes.mos\state.json: The system cannot find the path specified.

Maybe the space in your user path ?

@RobertByrnes
Copy link
Author

RobertByrnes commented Mar 20, 2023

Hi @scaprile thanks. My user on the other machine is one word without spaces, but the error message is the same, I don't believe this is the cause...

Does anyone have an example of the contents of state.json?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants