vuetifyjs / vue-cli-plugins

🔌 A collection of Vuetify plugins for Vue CLI
https://vuetifyjs.com/en/getting-started/quick-start#vue-cli-3
Other
427 stars 113 forks source link

Update @vue-cli when installing v3 #302

Open KaelWD opened 2 years ago

KaelWD commented 2 years ago
vue upgrade --all --next && npm dedupe
LucianHij commented 2 years ago

When doing vue upgrade --all --next && npm dedupe i get this:

image

LucianHij commented 2 years ago

I managed to make it work.

The fix for me was to manually install the latest vue/cli version: npm install -g @vue/cli@next

If anyone has this issue, write here and i will try to help with more steps.

Naurotski commented 2 years ago

I managed to make it work.

The fix for me was to manually install the latest vue/cli version: npm install -g @vue/cli@next

Thanks!

HippolyteQuief commented 2 years ago

@LucianHij I did got exactly the same things as you, so i also update npm install -g @vue/cli@next but now i'm getting an error when running vue ~/.vuerc may be outdated. Please delete it and re-run vue-cli in manual mode . But I don't have any .vuerc in my project

LucianHij commented 2 years ago

@HippolyteQuief firstly start with a project from scratch just to be sure that you do not have any other problems with other versions. So do npm install -g @vue/cli@next vue create my-app cd my-app && npm run serve And tell me if on a project from scratch you have the same error.

HippolyteQuief commented 2 years ago

First I uninstall image Next install in global again image Just to you my version image When i try to run vue create image

LucianHij commented 2 years ago

try to update to node 16.10.0, this is the version i used when i had success

HippolyteQuief commented 2 years ago

I updated node to 16.0.0, install @vue/cli@next, until now everything is alright. But whenever i use vue i'm still getting the .vuerc error

LucianHij commented 2 years ago

Try

$ sudo npm uninstall -g vue
$ sudo npm uninstall -g vue-cli
$ sudo npm uninstall -g @vue/cli
$ sudo npm cache clean --force
$ sudo npm install -g vue
$ sudo npm install -g @vue/cli@next
HippolyteQuief commented 2 years ago

Well, still not working, same error. I have a version where i can use vue3, typescript and vuetify.alpha-10, i will just continue on this one. Maybe it will work later when package will be updated

HippolyteQuief commented 2 years ago

@LucianHij I found the .vuerc file ! it was in C:\Users\myusername

LucianHij commented 2 years ago

@HippolyteQuief great! Good job!