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

Change to test that checks if template is local #300

Closed
wants to merge 1 commit into from
Closed

Change to test that checks if template is local #300

wants to merge 1 commit into from

Conversation

ajanes93
Copy link

I'm having issues similar to those raised here https://github.com/vuejs/vue-cli/issues/283

When using a local gitlab repo, I am seeing the following error:

vue-cli · Local template "gitlab:git.company.com:User/webpack-simple" not found.

The fix suggested in the issue that was raised was to change the test that checks if the template is local to:

/^\.{1,2}\/|^\w:|^\//.test(template)

I have tested this and it appears to fix the problem, since there doesn't appear to be a PR for this, I thought I would raise one.

Hope this is ok.

…st was causing issues when using a private repo
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.

2 participants