Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update @vue-cli when installing v3 #302

Open
KaelWD opened this issue Oct 10, 2021 · 12 comments
Open

Update @vue-cli when installing v3 #302

KaelWD opened this issue Oct 10, 2021 · 12 comments
Assignees

Comments

@KaelWD
Copy link
Member

KaelWD commented Oct 10, 2021

vue upgrade --all --next && npm dedupe
@LucianHij
Copy link

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

image

@LucianHij
Copy link

LucianHij commented Oct 14, 2021

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
Copy link

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
Copy link

@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
Copy link

@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
Copy link

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
Copy link

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

@HippolyteQuief
Copy link

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
Copy link

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
Copy link

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
Copy link

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

@LucianHij
Copy link

@HippolyteQuief great! Good job!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants