Answer the question
In order to leave comments, you need to log in
How to install vue-cli 3 version?
Hello. I found a lesson on vue-cli, here I go about it.
I want to install vue-cli exactly version 3 so that the create command is available,
this is what I do
npm install -g @vue/cli
npm WARN deprecated [email protected]: cross-spawn no longer requires a build toolchain, use it instead
/usr/local/lib/node_modules/node/bin/vue -> /usr/local/lib/node_modules/node/lib/node_modules/@vue/cli/bin/vue.js
npm WARN [email protected] requires a peer of [email protected]>=2.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of [email protected] - 14.1.x but none is installed. You must install peer dependencies yourself.
+ @vue/[email protected]
updated 1 package in 7.725s
vue --version
2.9.6
➜ ~ node -v
v11.13.0
➜ ~ npm -v
6.9.0
Answer the question
In order to leave comments, you need to log in
started the installation NOT through npm, but through yarn and everything worked
Something lately no one wants to read the vue-cli doc...
https://cli.vuejs.org/guide/installation.html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question