Skip to content

Vue CLI installation fails with errors, perhaps only with npm v7 #6392

@shoichiaizawa

Description

@shoichiaizawa

Version

4.5.12

Environment info

OS:      macOS Catelina 10.15.7 (19H524)
Node.js: v12.y.z, v14.y.z (installed via nvm v0.38.0)
npm:     v7.7.6

Steps to reproduce

❯❯ npm install -g @vue/cli
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @vue/compiler-core@3.0.10.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/sho/.npm/_logs/2021-03-31T00_36_52_758Z-debug.log

What is expected?

Install Vue CLI successfully.

What is actually happening?

Installation fails with the aforementioned error.


This only seems to happen with npm v7.y.z, not with v6.y.z, under any recent Node.js LTS versions (i.e. v12 and v14).

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