-
-
Notifications
You must be signed in to change notification settings - Fork 280
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
Plugin vue-cli-plugin-electron-builder does not have a generator to invoke #500
Comments
It seems like the download failed and the package is corrupted. Try reinstalling modules ( |
I've got the same result by doing the steps described above |
I ended up creating a whole new project and that worked just fine. Thanks for the help! |
Sometimes the download of a package just gets messed up. Normally clearing node_modules and reinstalling fixes it. Did you clear and reinstall node_modules after clearing the cache? |
I've got the same output with electron-builder@2.0.0-beta.0, @nklayman please help! Ouputs vue add electron-builder@2.0.0-beta.0
📦 Installing vue-cli-plugin-electron-builder@2.0.0-beta.0...
> ejs@3.0.1 postinstall /Users/xxxx/projects/xxx/my-wallet/node_modules/app-builder-lib/node_modules/ejs
> node ./postinstall.js
+ vue-cli-plugin-electron-builder@2.0.0-beta.0
added 202 packages from 121 contributors in 22.743s
✔ Successfully installed plugin: vue-cli-plugin-electron-builder@2.0.0-beta.0
Plugin vue-cli-plugin-electron-builder@2.0.0-beta.0 does not have a generator to invoke Expected behavior To Reproduce vue create my-wallet
cd my-wallet
npm run serve # Ctrl + c Stop Server
vue add electron-builder@2.0.0-beta.0 Environment
|
@EvanXzj you will need to run |
@nklayman Thanks!! |
Describe the bug
I just created a fresh project with the @vue/cli and the installed the plugin by running
vue add electron-builder
but the next thing appears in my terminal:After that, I can't use the
yarn electron:serve
command.Not a single file of my project has been modified by me or the plugin installation.
To Reproduce
Steps to reproduce the behavior:
vue add electron-builder
yarn electron:serve
Expected behavior
Serve the project.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: