Adding Plugins
See original GitHub issueVersion
3.0.0-beta.11
Reproduction link
https://github.com/DarkPurple141/bug-reproduce
Steps to reproduce
vue create new_project
[ select default ]
cd new_project
vue add vuex
What is expected?
The vuex plugin is added to the project
What is actually happening?
ERROR Error: Cannot find module '@vue/cli-service/generator/vuex'
Error: Cannot find module '@vue/cli-service/generator/vuex'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:571:15)
at Function.Module._load (internal/modules/cjs/loader.js:497:25)
at Module.require (internal/modules/cjs/loader.js:626:17)
at require (internal/modules/cjs/helpers.js:20:18)
at addVuex (/usr/local/lib/node_modules/@vue/cli/lib/add.js:57:12)
at add (/usr/local/lib/node_modules/@vue/cli/lib/add.js:20:12)
at module.exports.args (/usr/local/lib/node_modules/@vue/cli/lib/add.js:63:10)
at Command.program.command.allowUnknownOption.description.action (/usr/local/lib/node_modules/@vue/cli/bin/vue.js:57:26)
at Command.listener (/usr/local/lib/node_modules/@vue/cli/node_modules/commander/index.js:315:8)
at Command.emit (events.js:182:13)
Not sure if this is a bug or I’m using the plugin system incorrectly. For now I just reverted to doing things the old fashioned way, npm i --save-dev package. But maybe this is fine anyway?
Just ran into it after getting started and looking at the basic CLI api.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Add your Plugin - WordPress.org
We attempt to review all plugins within 5 business days of submission, but the process takes as long as it takes, depending on...
Read more >How to Install a WordPress Plugin - Beginner's Guide
1. Go to “Plugins” in your WordPress dashboard · 2. Click on “Add New” · 3. Find your plugin via search · 4....
Read more >How to Install a WordPress Plugin - Step by Step for Beginners
We will show you how to install WordPress plugins using the upload option in the admin area. First, you need to download the...
Read more >Install plugins - Bitnami Documentation
Browse to the “Plugins” menu page and then click the “Add New” button to search for plugins. · Once you find a plugin,...
Read more >Install plugins | IntelliJ IDEA Documentation - JetBrains
You can install additional plugins from the plugin repository or from a local archive file (ZIP or JAR). Install plugin from Marketplace. Press ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The latest beta of vue-cli 3 officially supports Node 8 or newer.
Seems that upgrading
npm
to v6+ solved for me. But still able to reproduce with 5.6.