Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Init command not working #894

Closed
lucasctd opened this issue Jun 20, 2019 · 8 comments
Closed

Init command not working #894

lucasctd opened this issue Jun 20, 2019 · 8 comments

Comments

@lucasctd
Copy link

lucasctd commented Jun 20, 2019

Describe the issue / bug.

When I type vue init simulatedgreg/electron-vue my-project it first asks me for the App Name, then for App ID, but it stucks on App ID, it neither let me type the App ID nor it let me press enter to use the default.

How can I reproduce this problem?

Run:

npm install -g vue-cli
vue init simulatedgreg/electron-vue my-project

Type the App Name (or use the default) then try to type the App ID.

If visual, provide a screenshot.

Video_1561045468

Tell me about your development environment.
  • Node version: 10.15.3
  • NPM version: 6.4.1
  • vue-cli version: 2.9.6
  • Operating System: Windows 10
@ZzqiZQute
Copy link

I have the same problem. 😥

As it's the first time I use electron-vue, I have no idea whether if my operating system (Windows 10) make it stop working. I recently updated the version of Windows to 10.0.18917.1000 and moved it to the Hyper-V architecture.

I also try it on the Linux system and the Termux on the Android system(just for try), and it works.

@twrayden
Copy link

twrayden commented Jun 21, 2019

I am having the same problem. I am using Ubuntu.

I have tried waiting & changing my network, but all I can do is kill the node process.

@3lVv0w
Copy link

3lVv0w commented Jun 21, 2019

same issue here

@HashPloXR
Copy link

This happens on Mac as well. After entering the Application Name, it prompts you for the Application Id and essentially hangs (i.e. you cannot do anything, not even CTRL+C)

@rm170
Copy link

rm170 commented Jun 21, 2019

I have the same problem on my Mac.

@michalzaq12
Copy link

michalzaq12 commented Jun 21, 2019

After some research, I found the reason for hanging. #807 #88
It was bug in vue-cli dependency 'Inquirer.js' and it was fixed 10 hours ago.

To download latest 'Inquirer.js' you need to find a global node_modules directory
(for windows: C:/Users/USER_NAME/AppData/Roaming/npm/node_modules) and delete the entire vue-cli dir.
Then download the vue-cli package again:
npm install -g vue-cli

@ZzqiZQute
Copy link

@michalzaq12 Problem solved, thank you so much.

@lucasctd
Copy link
Author

It's working now.

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

No branches or pull requests

7 participants