mongoose-os / mos

The Mongoose OS Command Line Tool - https://mongoose-os.com/docs/mongoose-os/quickstart/setup.md
Other
45 stars 31 forks source link

mos 2.19.1 clone not working #55

Closed Sekilsgs2 closed 3 years ago

Sekilsgs2 commented 3 years ago

In 2.19.1 when i'm run mos clone - i'm get error -

$ mos clone https://github.com/mongoose-os-apps/demo-js app_test
Error: app_test: Local copy in "demo-js" does not exist and fetching is not allowed
/src/cli/build/swmodule.go:262: 
/src/cli/main.go:198: clone failed
exit status 1
Command completed.
retecata commented 3 years ago

Hi! I just wanted to jump in and say I am getting the same error!

rojer commented 3 years ago

fixed now, apologies!

rojer commented 3 years ago

fixed build pushed to latest

retecata commented 3 years ago

Hi! thank you for the quick replies. Does this apply to the pre-built mos.exe for Windows as well? I'm trying to run this on Windows and I'm getting the same error.

felixback84 commented 3 years ago

hi guys I am getting the same error.... how i can solve it????

$ mos clone https://github.com/mongoose-os-apps/demo-js app1
Error: app1: Local copy in "demo-js" does not exist and fetching is not allowed
/private/tmp/mos-20210208-36530-1bwv7ue/mos-9bf406d90c65fca0b377220940735015dcfbb76c/cli/build/swmodule.go:262: 
/private/tmp/mos-20210208-36530-1bwv7ue/mos-9bf406d90c65fca0b377220940735015dcfbb76c/cli/main.go:198: clone failed
exit status 1
Command completed.

thanks for any help...

felixback84 commented 3 years ago

fixed build pushed to latest

What do you mean whit this??? Thanks for the help...

ryannamani commented 3 years ago

image

How can i solve this ?

rojer commented 3 years ago

swithc to latest (mos update latest) or wait for the next release (2.20).

ThatJanGuy commented 3 years ago

Workaround

This was tested in a terminal on Ubuntu 20.04.2 using mos 2.19.1.

First, create a folder. Name it like the app you want to clone. In this case it would be: mkdir demo-js Then go with your standard mos clone command. In this case: mos clone demo-js app1 Spelling out the whole Github path also works fine.

Mos will do the cloning and rename the folder you created to app1.

Hope this helps. Happy coding. :)