Init command not working
See original GitHub issueDescribe 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.
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
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:8
Top Results From Across the Web
[SOLVED] Init -command not found - Debian User Forums
Re: Init -command not found target depends on multi-user. target but not the other way around, all of the graphical units will be...
Read more >init: command not found
init: command not found ... If it's empty, You may set the PATH variable with this command ... /sbin/init - from package: upstart...
Read more >Cobra init not working,: Command not found - Stack Overflow
Because the cobra-cli command is not found, the path ~/go/bin is not part of the $PATH variable. One can add the path like...
Read more >How to fix a "Command not found" error in Linux - Red Hat
5 ways to fix "Command not found" errors · 1. Include the path · 2. Add a new path · 3. Copy a...
Read more >init command not found - Fedora Forum
init command not found ... you need to su - instead of just su in terminal and that should work. works fine for...
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 Free
Top 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
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
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)