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

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

Closed
DRoet opened this issue Oct 17, 2019 · 1 comment · Fixed by #5497
Closed

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

DRoet opened this issue Oct 17, 2019 · 1 comment · Fixed by #5497

Comments

@DRoet
Copy link
Contributor

DRoet commented Oct 17, 2019

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/cli@3.12.0
vue create testapp
cd testapp
vue add vuetify@1.0.2

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: vue-cli-plugin-vuetify@1.0.2

Plugin vue-cli-plugin-vuetify@1.0.2 does not have a generator to invoke

When using 4.0.2:

Successfully installed plugin: vue-cli-plugin-vuetify@1.0.2

 ERROR  Error: Cannot resolve plugin vuetify@1.0.2 from package.json. Did you forget to install it?
@willemavjc
Copy link

willemavjc commented Oct 23, 2019

For info: Still occurs with 4.0.5 (and vuetify plugin 1.1.1)

Sticked to Vue CLI 3.12.0 :/

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

Successfully merging a pull request may close this issue.

3 participants