Skip to content

vue upgrade command asks for a plugin and doesn't recognize when it is installed #3222

Closed
@cfjedimaster

Description

@cfjedimaster

Version

3.2.1

Environment info

  System:
    OS: Windows 10
    CPU: (8) x64 Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
  Binaries:
    Node: Not Found
    Yarn: Not Found
    npm: 6.2.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: 44.17763.1.0
  npmGlobalPackages:
    @vue/cli: Not Found

Note that Node is absolutely installed. "node -v" reports 10.9.0.

Steps to reproduce

  1. run "vue upgrade"
  2. It reports:

Command vue upgrade requires a global addon to be installed.
Please run npm install -g @vue/cli-upgrade and try again.

  1. I run the above command, close the terminal, open a new one, and try it again. Same issue.

What is expected?

For it to attempt to update my CLI.

What is actually happening?

It reports what is shown in figure 3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions