3.0.0-beta.15
vue create new_project
Install dependencies and then show me a "Done"
Blocked at "Creating project in ...", and it is never finish
met the same problem
Now things seem to be getting better. I use command : vue create new_project. Faster than a few hours ago
@CodeLoam @ITPoker There is no --verbose
option there. Not sure, whether it is still downloading something, or just dead. I'm glad, I'm not alone with this problem.
For the time being, I use vue create -d new_project
. It seems to make things much faster.
same problem
The description is a bit vague, please provide a bit more information. You have gone through the preset selection process? And it's stuck at exactly at Creating project in ...
, without the Git initialization info, and without any yarn/npm install output?
What OS are you on, what are your Node/npm/yarn versions? Can you provide a screenshot, or better, a video or exactly what happens?
For anyone else commenting in this thread, make sure you are actually having the exact same issue, slow installation is unrelated and more likely your npm registry connection problem.
Dear Evan @yyx990803
There is no Git initialization information. I create a new project from scratch. No idea it will involve Git the this time. And my awkward situation is that, there is no chance for me to choose alternative npm registry in the selection process. Vue-CLI also seems to have no switcher to show verbose information.
Here are some more details:
# content of .vuerc
{
"useTaobaoRegistry": true,
"packageManager": "yarn"
}
The Slow Experience
I made screenshots of the slow process. (It never succeed on my machine) I guess, it might download everything overseas with a very slow connection.
The Fast (expected) Experience
My current workaround is to create project with switch -d
, it looks much faster.
Open Question
My confusion is -d
means to use default settings. My first attempt (slow) is also going to use default settings by pressing ENTER. How the difference is made. Hope the information can track down a potential bug.
same problem Node: v10.3.0 Npm: 6.1.0 OS: WIN10 vue-cli: 3.0.0-beta.15
Emmmm , Has Same Problem When I vue create project , Solute It By Use '-d' Commad
I seem to be running into the same problem:
[...] [feature/vue ≡ +3 ~0 -0 !]> .\node_modules\.bin\vue create
my-project-name
Vue CLI v3.0.0-beta.15
? Please pick a preset: Manually select features
? Check the features needed for your project: Babel, TS, Linter
? Use class-style component syntax? Yes
? Use Babel alongside TypeScript for auto-detected polyfills? Yes
? Pick a linter / formatter config: TSLint
? Pick additional lint features: Lint on save
? Where do you prefer placing config for Babel, PostCSS, ESLint, etc.? In dedicated config files
? Save this as a preset for future projects? No
? Pick the package manager to use when installing dependencies: Yarn
Vue CLI v3.0.0-beta.15
- Creating project in [...]\my-project-name.
This is on Win10, yarn 1.7.1, node 10, from powershell. According to PowerShell's window title the hanging process is "npm".
Im using win7, [email protected] and using cnpm as my global registry.
stuck in this image for about 2min...
stuck in this image for about 2min...
It appears to be cnpm can't download this package @babel/helper-builder-binary-assignment-operator-visitor
.
I chaged my registry to taobao and it worked.
vue create myproject -r https://registry.npm.taobao.org
The original issue cannot be reproduced, so I am closing this.
If you are just experiencing slow dependency installation (i.e. you see the install bar), make sure you are using a faster registry for your area (e.g. Taobao mirror if you are in China).
The description is a bit vague, please provide a bit more information. You have gone through the preset selection process? And it's stuck at exactly at
Creating project in ...
, without the Git initialization info, and without any yarn/npm install output?What OS are you on, what are your Node/npm/yarn versions? Can you provide a screenshot, or better, a video or exactly what happens?
For anyone else commenting in this thread, make sure you are actually having the exact same issue, slow installation is unrelated and more likely your npm registry connection problem.
Hi there, im still having this issue
still having this issue. it takes about 10 minutes to create a project even with high speed connection.
command: vue create project_name
@javadmokhtari Do you have an Anti-virus software running?
@Akryum no, I don't have antivirus software. And I have Linux Mint OS (maybe useful for you).
And I have Linux Mint OS (maybe useful for you).
I am experiencing the same issue with Linux mint.
I fixed it by disable taobao registry
@iqmal852 where do I can do this?
@Akryum no, I don't have antivirus software. And I have Linux Mint OS (maybe useful for you).
the same with me, it's still running after 2 hours.
@namnguyen2091 https://cli.vuejs.org/config/#global-cli-config
@namnguyen2091 https://cli.vuejs.org/config/#global-cli-config
thanks so much, it's much faster:D
2019 Still Slow can't it be local then get updated when it needs to ?
I had a similar issue both for creating new projects as well as plugin installation. After digging so much for several hours, I found out that it was my network proxy settings.
@namnguyen2091 https://cli.vuejs.org/config/#global-cli-config
Thanks !
Disable your antivirus and clear some resource intensive processes.
It should take about 10 minutes.
Also check: vue config
Resolved path: ....vuerc
{
"useTaobaoRegistry": false
}
Im using ubuntu 18.04 LTS and is having the same issue that after I've downloaded @vue/cli when I ran vue create test or vue create new_project or vue create -d new_project it would seems like the download is very slow, but is not stuck since I can see that the download bar is switchting to different files. I've managed to fix this problem by updating node.js below are the commands that I ran on the terminal which fixed the issue.
sudo apt-get update
sudo apt-get install build-essential checkinstall libssl-dev
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.32.1/install.sh | bash
sudo apt install npm
exit the terminal and start it again
sudo npm cache clean -f
sudo npm install -g n
sudo n stable
Maybe some of the commands was unecessary, but this was exactly what I wrote to fix the issue that made vue cli seems to be downloading very slow or not at all to be able to download vue cli and it's dependencies under 3-4 minutes with 100mbit connection.
Most helpful comment
Dear Evan @yyx990803
There is no Git initialization information. I create a new project from scratch. No idea it will involve Git the this time. And my awkward situation is that, there is no chance for me to choose alternative npm registry in the selection process. Vue-CLI also seems to have no switcher to show verbose information.
Here are some more details:
The Slow Experience



I made screenshots of the slow process. (It never succeed on my machine) I guess, it might download everything overseas with a very slow connection.
The Fast (expected) Experience

My current workaround is to create project with switch
-d
, it looks much faster.Open Question
My confusion is
-d
means to use default settings. My first attempt (slow) is also going to use default settings by pressing ENTER. How the difference is made. Hope the information can track down a potential bug.