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

yarn --registry is error command when create new project #789

Closed
ws456999 opened this issue Feb 6, 2018 · 2 comments
Closed

yarn --registry is error command when create new project #789

ws456999 opened this issue Feb 6, 2018 · 2 comments
Labels

Comments

@ws456999
Copy link

ws456999 commented Feb 6, 2018

Version

3.0.0-alpha.8

Reproduction link

https://github.com/vuejs/vue-cli

Steps to reproduce

command-line output:

Vue CLI v3.0.0-alpha.8
✨  Creating project in /Users/a39/Desktop/profile/new-vue.
🗃  Initializing git repository...
⚙  Installing CLI plugins. This might take a while...


  error: unknown option `--registry'

 ERROR  command failed: yarn --registry=https://registry.npm.taobao.org

What is expected?

when i use yarn and select taobao source

use:

yarn config set registry https://registry.npm.taobao.org

What is actually happening?

when i use yarn and select taobao source

yarn --registry=https://registry.npm.taobao.org
@ws456999
Copy link
Author

ws456999 commented Feb 6, 2018

btw: how can i clear the cache of the taobao source selection?

@yyx990803 yyx990803 added the bug label Feb 6, 2018
@yyx990803
Copy link
Member

@ws456999 in ~/.vuerc, set useTaobaoRegistry to false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants