question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

vue upgrade does not work

See original GitHub issue

Version

3.4.0

Environment info


Environment Info:

  System:
    OS: macOS 10.14.3
    CPU: (12) x64 Intel(R) Core(TM) i7-8700B CPU @ 3.20GHz
  Binaries:
    Node: 10.15.0 - ~/.nvm/versions/node/v10.15.0/bin/node
    Yarn: 1.13.0 - /usr/local/bin/yarn
    npm: 6.7.0 - ~/.nvm/versions/node/v10.15.0/bin/npm
  Browsers:
    Chrome: 71.0.3578.98
    Firefox: Not Found
    Safari: 12.0.3
  npmPackages:
    @vue/babel-helper-vue-jsx-merge-props:  1.0.0-beta.2 
    @vue/babel-plugin-transform-vue-jsx:  1.0.0-beta.2 
    @vue/babel-preset-app:  3.4.0 
    @vue/babel-preset-jsx:  1.0.0-beta.2 
    @vue/babel-sugar-functional-vue:  1.0.0-beta.2 
    @vue/babel-sugar-inject-h:  1.0.0-beta.2 
    @vue/babel-sugar-v-model:  1.0.0-beta.2 
    @vue/babel-sugar-v-on:  1.0.0-beta.2 
    @vue/cli-overlay:  3.4.0 
    @vue/cli-plugin-babel: ^3.4.0 => 3.4.0 
    @vue/cli-plugin-eslint: ^3.4.0 => 3.4.0 
    @vue/cli-service: ^3.4.0 => 3.4.0 
    @vue/cli-shared-utils:  3.4.0 
    @vue/component-compiler-utils:  2.5.2 
    @vue/preload-webpack-plugin:  1.1.0 
    @vue/web-component-wrapper:  1.2.0 
    eslint-plugin-vue: ^5.0.0 => 5.1.0 
    vue: ^2.5.22 => 2.6.0 
    vue-eslint-parser:  4.0.3 
    vue-hot-reload-api:  2.3.1 
    vue-loader:  15.6.2 
    vue-style-loader:  4.1.2 
    vue-template-compiler: ^2.5.21 => 2.6.0 
    vue-template-es2015-compiler:  1.8.2 
  npmGlobalPackages:
    @vue/cli: 3.4.0


Steps to reproduce

  1. vue create myproj
  2. cd myproj
  3. vue upgrade

What is expected?

Upgrade should work.

What is actually happening?

Even after following the instructions and globally installing @vue/cli-upgrade, I get the same message instructing me to install the package.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:12
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
krave1986commented, Feb 27, 2019

I have the same problem. No matter how you try, it will always told you to install @vue/cli-upgrade instead of upgrading.

0reactions
sodateacommented, Oct 4, 2019

I still don’t know what stops vue upgrade from working properly in v3. But anyway, in Vue CLI v3, it does nothing more than invoking npm update or yarn upgrade underlyingly for @vue/cli-service & @vue/cli-plugin-* packages. So I recommend you to use these commands instead. BTW, yarn upgrade-interactive has a nice user interface.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to upgrade my global vue-cli install to the latest version?
The vue-cli update issue states that either npm or yarn can be used to upgrade vue-cli. However, when working within nvm , the...
Read more >
Migrate from v4 - Vue CLI
In your existing projects, run: vue upgrade. And then follow the command line instructions. Note that the migrator is not complete yet and ......
Read more >
Why Your Vue Component Isn't Updating (and how to fix it)
1. Check that variables are reactive · 2. Make sure to update Arrays and Objects correctly (only in Vue 2) · 3. Use...
Read more >
@vue/compat - npm
Start using @vue/compat in your project by running `npm i @vue/compat`. ... If your app is unfortunately not suitable for upgrade, do note ......
Read more >
Upgrade Guide - Quasar Framework
How to upgrade Quasar from older versions to the latest one.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found