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 2.19.1 clone not working #55

Closed
Sekilsgs2 opened this issue Feb 18, 2021 · 9 comments
Closed

mos 2.19.1 clone not working #55

Sekilsgs2 opened this issue Feb 18, 2021 · 9 comments

Comments

@Sekilsgs2
Copy link

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
Copy link

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

@rojer rojer closed this as completed in 921f7f3 Feb 20, 2021
@rojer
Copy link
Contributor

rojer commented Feb 20, 2021

fixed now, apologies!

@rojer
Copy link
Contributor

rojer commented Feb 20, 2021

fixed build pushed to latest

@retecata
Copy link

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.

@scaprile scaprile mentioned this issue Mar 8, 2021
@felixback84
Copy link

felixback84 commented Mar 11, 2021

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
Copy link

fixed build pushed to latest

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

@ryannamani
Copy link

image

How can i solve this ?

@rojer
Copy link
Contributor

rojer commented Jun 23, 2021

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

@ThatJanGuy
Copy link

ThatJanGuy commented Jul 12, 2021

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. :)

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

6 participants