Skip to content

Conversation

@winnieBear
Copy link

@winnieBear winnieBear commented Jul 4, 2017

the path can NOT contain : in Windows OS, which result in failure of initialization by vue-init -c gitlab:gitlab.host:user/repo project-name in Windows OS. when downloadAndGenerate, the tmp path name may look like C:\Users\username\.vue-templates\gitlab:githost:repo-name, the character : in path lead git clone fail in Window OS.

@kospot
Copy link

kospot commented Aug 15, 2017

@winnieBear Hi, when i use the http to clone package, I found the symbol ':' is can't be in the file name( Window OS)
temp should be this
var tmp = path.join(home, '.vue-templates', template.replace(/[\/|:]/g, '-'))

@yyx990803
Copy link
Member

Closing as this has been included in #565, thanks.

@yyx990803 yyx990803 closed this Feb 5, 2018
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

Successfully merging this pull request may close these issues.

3 participants