Reputation: 780
I am attempting to update my Vue version to the most recent, however after running "npm install -g @vue/cli" (as told to by the vue website), it said everything ran fine and shows 3.2.3 had installed, but when running vue --version to check, it shows as 3.0.1.
I then figured I would uninstall all vue instances but, regardless of global or local uninstalls, it would always still show vue --version as 3.0.1.
No matter what I tried, I can not seem to remove vue form my system for a fresh install, nor simply update from 3.0.1 to the latest version.
Not sure what sort of indo would be best to show here?
--
Bit more info here,
I ran "Which Vue" and the result was -
/usr/local/bin/vue
I also the ran npm list -g --depth=0
/usr/local/Cellar/node/11.6.0/lib
├── @vue/[email protected]
└── [email protected]
However, running - vue -V (or even vue --version) gives me just:
3.0.1
Upvotes: 1
Views: 5077
Reputation: 1
3 steps to update from vue 3 lower version to the latest:
Upvotes: 0
Reputation: 53
You need to uninstall vue-cli, and then install @vue/cli. Here is how:
npm uninstall -g vue-cli
npm install -g @vue/cli
Upvotes: 1
Reputation: 592
Maybe you have npm
and yarn
installed.
Try npm update --global
and yarn global upgrade
.
Good luck!!!
Upvotes: -2