vuejs / vue-cli

🛠️ webpack-based tooling for Vue.js Development
https://cli.vuejs.org/
MIT License
29.76k stars 6.33k forks source link

Vue cli is not installing #6388

Open jhulyacosta opened 3 years ago

jhulyacosta commented 3 years ago

Version

5.0.0-alpha.8

Environment info

Hello,

I am using Git Bash on Windows 10 

node -v
v14.16.0

npm -v
6.14.11

Steps to reproduce

npm install -g @vue/cli

npm WARN deprecated @hapi/joi@15.1.1: Switch to 'npm install joi' npm WARN deprecated request@2.88.2: request has been deprecated, see request/request#3142 npm WARN deprecated @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained npm WARN deprecated @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained npm WARN deprecated @hapi/address@2.1.4: Moved to 'npm install @sideway/address' npm WARN deprecated @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained npm WARN deprecated har-validator@5.1.5: this library is no longer supported

What is expected?

Install Vue CLI

What is actually happening?

Getting an error.

haoqunjiang commented 3 years ago

These are warnings, not errors. What's the actual error that failed the installation?

edgarm1964 commented 3 years ago

These are warnings, not errors. What's the actual error that failed the installation?

I don't like these kinds of warnings. They show that Vue-Cli is not up to date.

haoqunjiang commented 3 years ago

Well, v5 is up-to-date, but it's still in pre-release (will be beta very soon)

jhulyacosta commented 3 years ago

I got it fixed by the following commands: npm install -g npm npm uninstall vue-cli -g npm i -g @vue/cli