SimulatedGREG / electron-vue

An Electron & Vue.js quick start boilerplate with vue-cli scaffolding, common Vue plugins, electron-packager/electron-builder, unit/e2e testing, vue-devtools, and webpack.
https://simulatedgreg.gitbooks.io/electron-vue/content/
MIT License
15.47k stars 1.54k forks source link

Stuck at "Application Id" in vue init (terminal freeze) #997

Closed geongeorge closed 4 years ago

geongeorge commented 4 years ago

Found an issue or bug with electron-vue? Tell me all about it!

I'm stuck at vue init command, Specifically at the the Application Id question

Describe the issue / bug.

Terminal freezes at this question. I have to restart the terminal to do something again. (restarting doesn't help. cannot get past this question)

image

How can I reproduce this problem?

vue init simulatedgreg/electron-vue my-project

Tell me about your development environment.
geongeorge commented 4 years ago

Solved 💯

This was because I was using @vue/cli instead of older vue-cli

The newer version does not have the option to initialize from templates.

The solution is to install @vue/cli-init to enable this feature

npm install @vue/cli-init -g

yarn global add @vue/cli-init