Skip to content

[V3][V4] Plugin not installing correctly when adding version number #4700

Closed
@DRoet

Description

@DRoet

Version

4.0.3 and 3.12.0

Reproduction link

vuetifyjs/vue-cli-plugins#119 (comment)

Environment info

 Binaries:
    Node: 12.11.1 - /usr/local/bin/node
    Yarn: 1.19.0 - /usr/local/bin/yarn
    npm: 6.11.3 - /usr/local/bin/npm

Steps to reproduce

npm install -g @vue/[email protected]
vue create testapp
cd testapp
vue add [email protected]

What is expected?

Plugin gets installed and invoked just like when not specifying a version number: vue add vuetify works

What is actually happening?

When using 3.12.0:

Successfully installed plugin: [email protected]

Plugin [email protected] does not have a generator to invoke

When using 4.0.2:

Successfully installed plugin: [email protected]

 ERROR  Error: Cannot resolve plugin [email protected] from package.json. Did you forget to install it?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions