question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Version

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:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Akryumcommented, May 27, 2018

The latest beta of vue-cli 3 officially supports Node 8 or newer.

1reaction
DarkPurple141commented, May 27, 2018

Seems that upgrading npm to v6+ solved for me. But still able to reproduce with 5.6.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found