Updated Vue to 3.2.3. vue --version shows as 3.0.1 still… How to fix?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
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/cli@3.2.3
└── npm@6.5.0
However, running - vue -V (or even vue --version) gives me just:
3.0.1
vue.js npm npm-update
add a comment |
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/cli@3.2.3
└── npm@6.5.0
However, running - vue -V (or even vue --version) gives me just:
3.0.1
vue.js npm npm-update
make sure you are installing the update on the same node_modules file as the older version
– SirDad
Jan 3 at 12:04
are you using any node manager? You might want to check your node version. Reloading your terminal might work as well
– bruhbruh
Jan 3 at 12:22
Run awhich vue
and check if the path is correct for your install location
– Erik Terwan
Jan 3 at 12:23
@ErikTerwan I just done that and it says "/usr/local/bin/vue" not sure if this is supposed to be the one or not? :s If not, how do i change to the correct place?
– KJParker
Jan 4 at 14:13
add a comment |
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/cli@3.2.3
└── npm@6.5.0
However, running - vue -V (or even vue --version) gives me just:
3.0.1
vue.js npm npm-update
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/cli@3.2.3
└── npm@6.5.0
However, running - vue -V (or even vue --version) gives me just:
3.0.1
vue.js npm npm-update
vue.js npm npm-update
edited Jan 4 at 14:19
KJParker
asked Jan 3 at 12:00
KJParkerKJParker
436
436
make sure you are installing the update on the same node_modules file as the older version
– SirDad
Jan 3 at 12:04
are you using any node manager? You might want to check your node version. Reloading your terminal might work as well
– bruhbruh
Jan 3 at 12:22
Run awhich vue
and check if the path is correct for your install location
– Erik Terwan
Jan 3 at 12:23
@ErikTerwan I just done that and it says "/usr/local/bin/vue" not sure if this is supposed to be the one or not? :s If not, how do i change to the correct place?
– KJParker
Jan 4 at 14:13
add a comment |
make sure you are installing the update on the same node_modules file as the older version
– SirDad
Jan 3 at 12:04
are you using any node manager? You might want to check your node version. Reloading your terminal might work as well
– bruhbruh
Jan 3 at 12:22
Run awhich vue
and check if the path is correct for your install location
– Erik Terwan
Jan 3 at 12:23
@ErikTerwan I just done that and it says "/usr/local/bin/vue" not sure if this is supposed to be the one or not? :s If not, how do i change to the correct place?
– KJParker
Jan 4 at 14:13
make sure you are installing the update on the same node_modules file as the older version
– SirDad
Jan 3 at 12:04
make sure you are installing the update on the same node_modules file as the older version
– SirDad
Jan 3 at 12:04
are you using any node manager? You might want to check your node version. Reloading your terminal might work as well
– bruhbruh
Jan 3 at 12:22
are you using any node manager? You might want to check your node version. Reloading your terminal might work as well
– bruhbruh
Jan 3 at 12:22
Run a
which vue
and check if the path is correct for your install location– Erik Terwan
Jan 3 at 12:23
Run a
which vue
and check if the path is correct for your install location– Erik Terwan
Jan 3 at 12:23
@ErikTerwan I just done that and it says "/usr/local/bin/vue" not sure if this is supposed to be the one or not? :s If not, how do i change to the correct place?
– KJParker
Jan 4 at 14:13
@ErikTerwan I just done that and it says "/usr/local/bin/vue" not sure if this is supposed to be the one or not? :s If not, how do i change to the correct place?
– KJParker
Jan 4 at 14:13
add a comment |
1 Answer
1
active
oldest
votes
Try running npm install -g @vue/cli
then reload your terminal.
I think this command installed Vue 2 on my system, where as I am using Vue 3. But, even after adjusting ( I believe they use vue/cli now?) it didnt seem to work. My system says it has installed, but Vue -v still shows it as 3.0.1
– KJParker
Jan 4 at 15:36
VueJS is a framework, the CLI is a command line interface that helps set up projects. So yes, it will install Vue @ version 2.*.* but that command line interface is 3.*.*
– swonder
Jan 4 at 15:38
Check out this link for the CLI installation cli.vuejs.org/guide/installation.html
– swonder
Jan 4 at 15:39
Apologies,vue-cli
andvue/cli
are two different things.
– swonder
Jan 4 at 15:40
I did try that already and no use (I used that to install, and again to update, and it works/installs, but upon doing the last command to check (vue --version) it shows "3.0.1" instead of the newer version (3.2.x)
– KJParker
Jan 4 at 15:41
|
show 1 more comment
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54021885%2fupdated-vue-to-3-2-3-vue-version-shows-as-3-0-1-still-how-to-fix%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Try running npm install -g @vue/cli
then reload your terminal.
I think this command installed Vue 2 on my system, where as I am using Vue 3. But, even after adjusting ( I believe they use vue/cli now?) it didnt seem to work. My system says it has installed, but Vue -v still shows it as 3.0.1
– KJParker
Jan 4 at 15:36
VueJS is a framework, the CLI is a command line interface that helps set up projects. So yes, it will install Vue @ version 2.*.* but that command line interface is 3.*.*
– swonder
Jan 4 at 15:38
Check out this link for the CLI installation cli.vuejs.org/guide/installation.html
– swonder
Jan 4 at 15:39
Apologies,vue-cli
andvue/cli
are two different things.
– swonder
Jan 4 at 15:40
I did try that already and no use (I used that to install, and again to update, and it works/installs, but upon doing the last command to check (vue --version) it shows "3.0.1" instead of the newer version (3.2.x)
– KJParker
Jan 4 at 15:41
|
show 1 more comment
Try running npm install -g @vue/cli
then reload your terminal.
I think this command installed Vue 2 on my system, where as I am using Vue 3. But, even after adjusting ( I believe they use vue/cli now?) it didnt seem to work. My system says it has installed, but Vue -v still shows it as 3.0.1
– KJParker
Jan 4 at 15:36
VueJS is a framework, the CLI is a command line interface that helps set up projects. So yes, it will install Vue @ version 2.*.* but that command line interface is 3.*.*
– swonder
Jan 4 at 15:38
Check out this link for the CLI installation cli.vuejs.org/guide/installation.html
– swonder
Jan 4 at 15:39
Apologies,vue-cli
andvue/cli
are two different things.
– swonder
Jan 4 at 15:40
I did try that already and no use (I used that to install, and again to update, and it works/installs, but upon doing the last command to check (vue --version) it shows "3.0.1" instead of the newer version (3.2.x)
– KJParker
Jan 4 at 15:41
|
show 1 more comment
Try running npm install -g @vue/cli
then reload your terminal.
Try running npm install -g @vue/cli
then reload your terminal.
edited Jan 4 at 15:40
answered Jan 3 at 12:05
swonderswonder
636722
636722
I think this command installed Vue 2 on my system, where as I am using Vue 3. But, even after adjusting ( I believe they use vue/cli now?) it didnt seem to work. My system says it has installed, but Vue -v still shows it as 3.0.1
– KJParker
Jan 4 at 15:36
VueJS is a framework, the CLI is a command line interface that helps set up projects. So yes, it will install Vue @ version 2.*.* but that command line interface is 3.*.*
– swonder
Jan 4 at 15:38
Check out this link for the CLI installation cli.vuejs.org/guide/installation.html
– swonder
Jan 4 at 15:39
Apologies,vue-cli
andvue/cli
are two different things.
– swonder
Jan 4 at 15:40
I did try that already and no use (I used that to install, and again to update, and it works/installs, but upon doing the last command to check (vue --version) it shows "3.0.1" instead of the newer version (3.2.x)
– KJParker
Jan 4 at 15:41
|
show 1 more comment
I think this command installed Vue 2 on my system, where as I am using Vue 3. But, even after adjusting ( I believe they use vue/cli now?) it didnt seem to work. My system says it has installed, but Vue -v still shows it as 3.0.1
– KJParker
Jan 4 at 15:36
VueJS is a framework, the CLI is a command line interface that helps set up projects. So yes, it will install Vue @ version 2.*.* but that command line interface is 3.*.*
– swonder
Jan 4 at 15:38
Check out this link for the CLI installation cli.vuejs.org/guide/installation.html
– swonder
Jan 4 at 15:39
Apologies,vue-cli
andvue/cli
are two different things.
– swonder
Jan 4 at 15:40
I did try that already and no use (I used that to install, and again to update, and it works/installs, but upon doing the last command to check (vue --version) it shows "3.0.1" instead of the newer version (3.2.x)
– KJParker
Jan 4 at 15:41
I think this command installed Vue 2 on my system, where as I am using Vue 3. But, even after adjusting ( I believe they use vue/cli now?) it didnt seem to work. My system says it has installed, but Vue -v still shows it as 3.0.1
– KJParker
Jan 4 at 15:36
I think this command installed Vue 2 on my system, where as I am using Vue 3. But, even after adjusting ( I believe they use vue/cli now?) it didnt seem to work. My system says it has installed, but Vue -v still shows it as 3.0.1
– KJParker
Jan 4 at 15:36
VueJS is a framework, the CLI is a command line interface that helps set up projects. So yes, it will install Vue @ version 2.*.* but that command line interface is 3.*.*
– swonder
Jan 4 at 15:38
VueJS is a framework, the CLI is a command line interface that helps set up projects. So yes, it will install Vue @ version 2.*.* but that command line interface is 3.*.*
– swonder
Jan 4 at 15:38
Check out this link for the CLI installation cli.vuejs.org/guide/installation.html
– swonder
Jan 4 at 15:39
Check out this link for the CLI installation cli.vuejs.org/guide/installation.html
– swonder
Jan 4 at 15:39
Apologies,
vue-cli
and vue/cli
are two different things.– swonder
Jan 4 at 15:40
Apologies,
vue-cli
and vue/cli
are two different things.– swonder
Jan 4 at 15:40
I did try that already and no use (I used that to install, and again to update, and it works/installs, but upon doing the last command to check (vue --version) it shows "3.0.1" instead of the newer version (3.2.x)
– KJParker
Jan 4 at 15:41
I did try that already and no use (I used that to install, and again to update, and it works/installs, but upon doing the last command to check (vue --version) it shows "3.0.1" instead of the newer version (3.2.x)
– KJParker
Jan 4 at 15:41
|
show 1 more comment
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54021885%2fupdated-vue-to-3-2-3-vue-version-shows-as-3-0-1-still-how-to-fix%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
make sure you are installing the update on the same node_modules file as the older version
– SirDad
Jan 3 at 12:04
are you using any node manager? You might want to check your node version. Reloading your terminal might work as well
– bruhbruh
Jan 3 at 12:22
Run a
which vue
and check if the path is correct for your install location– Erik Terwan
Jan 3 at 12:23
@ErikTerwan I just done that and it says "/usr/local/bin/vue" not sure if this is supposed to be the one or not? :s If not, how do i change to the correct place?
– KJParker
Jan 4 at 14:13