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

Not finding mos tool? #1

Open
taschmidt opened this issue Jan 18, 2019 · 9 comments
Open

Not finding mos tool? #1

taschmidt opened this issue Jan 18, 2019 · 9 comments

Comments

@taschmidt
Copy link

I'm on Windows 10, trying to use the extension with the latest version of VS Code. I'm unable to do anything with mos and keep getting the error Too old mos tool: "mos ports" failed. Run "mos update latest". I'm sure that I'm on the latest mos tool. I even tried moving it to c:\mos like in the Mongoose docs.

Ideas?

@DavidGasca
Copy link

DavidGasca commented Jan 19, 2019

The same problem.
I tried installing VS Code in c:\mos, with the three versions: user, system and portable and still without functions.
Additionally, I have run mos.exe "mos update latest", I actually update "mos ports", restart VS Code and continue with the same problem.
I tried installing previous versions of the plugin "Mongoose OS IDE" inside VS Code and neither
Some clue?

@Gonkers
Copy link

Gonkers commented May 26, 2019

So part of the problem at least on windows is that here when trying to start the child process, mos must be in the workspace directory. My mos application is in my path environment variable and I can run it from any directory via the command prompt. It appears VS Code isn't abiding by the PATH environment variable, or it's a security restriction in VS Code extensions. I'm not sure as I've never attempted to code an extension.

When the mos.exe is in my workspace directory I no longer get the error about Too old mos tool however it doesn't fix the ability to select a port. I am however able to run commands now (I couldn't before) see the screenshot below
image

@Gonkers Gonkers mentioned this issue May 26, 2019
@amitlals
Copy link

I have same problem, MOS never recognise windows

@MJLHThomassen
Copy link

+1

@cesanta cesanta deleted a comment from seaowl Jul 19, 2020
@kaelco
Copy link

kaelco commented Sep 1, 2020

I have the same problem

@d4rkmen
Copy link

d4rkmen commented Oct 24, 2020

Need to edit requirements info for windows users: add mos.exe location to PATH
Also show normal error like “mos tool file not found”

@scarolan
Copy link

Same issue here. I have downloaded mos.exe to C:\mos\mos.exe per the docs, and added C:\mos to my PATH variable.

@maskedarray
Copy link

maskedarray commented Jan 1, 2021

Hi fellas! I solved the problem. So here it is: I was having the same error and I included the "c:\mos" to the PATH variable under user variable and system variable both. Its working fine now. Btw its my first time commenting on github :)

@smartnettechnologies
Copy link

The answer for fix it is here, but no works for Ubuntu 22
https://mongoose-os.com/docs/mongoose-os/quickstart/setup.md

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

10 participants