4.1.2
System:
OS: Linux 5.3 Ubuntu 18.04.4 LTS (Bionic Beaver)
CPU: (4) x64 Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
Binaries:
Node: 8.10.0 - /usr/bin/node
Yarn: Not Found
npm: 3.5.2 - /usr/bin/npm
Browsers:
Chrome: 79.0.3945.130
Firefox: 72.0.2
npmGlobalPackages:
@vue/cli: 4.1.2
sudo npm install -g vue
sudo npm install -g @vue/cli
sudo vue create mpproj
The project "mpproj" was created.
After choosing parameters this text was showing in console for endless time :
Vue CLI v4.1.2
sparkles Creating project in /home/vikash/mpproj.
âš™ Installing CLI plugins. This might take a while...
loadDep:jsesc -> network - |##########################################################---------------------------------------------------------------------------------------------------------------------|
{
"name": "mpproj",
"version": "0.1.0",
"private": true,
"devDependencies": {
"@vue/cli-plugin-babel": "^4.1.0",
"@vue/cli-plugin-eslint": "^4.1.0",
"@vue/cli-service": "^4.1.0"
}
}
Don't use sudo to create projects.
And your npm version seems quite old, there might be known bugs in it.
I have updated my npm and also tried to create project without sudo. still facing the same issue.
If you successfully updated npm, I think there should be a different error message. What's the output now?

no, it's not giving any error message. please find the screenshot.
It keeps loading the plugins.
Looks like an npm (or network) issue.
What about running the npm install --verbose command in the target folder (/home/vikash/myprok)? If it's an npm issue, then this command will produce the same result but with more verbose output. And then we can try to diagnose the problem from the output.
I have run '''npm run --verbose" . now it's still doing the same. Please find the screenshot.
It keeps loading other plugins.


I mean:
Ctrl + C to stop the commandcd myprok (There's a package.json in the project but the plugins haven't been successfully installed yet.)npm install --verbose (We are now trying to install the plugins by using npm directly and see if there's any helpful error messages)Another command to try is vue config --set useTaobaoRegistry false, in case it's caused by the network connectivity to taobao registry.
I mean:
Ctrl+Cto stop the commandcd myprok(There's apackage.jsonin the project but the plugins haven't been successfully installed yet.)npm install --verbose(We are now trying to install the plugins by using npm directly and see if there's any helpful error messages)
Yes I did the same. its still not working.
Yes I did the same. its still not working.
What's the output of npm install --verbose?
Your screenshots were the outputs of vue create
Yes I did the same. its still not working.
What's the output of
npm install --verbose?
It simply installed all node modules.
So npm works but vue create doesn't? Then it might be caused by useTaobaoRegistry. Please run vue config --set useTaobaoRegistry false and try again.
vue config --set useTaobaoRegistry false this worked for me. Thanks.
Most helpful comment
vue config --set useTaobaoRegistry falsethis worked for me. Thanks.