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.

Init command not working

See original GitHub issue
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

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:8

github_iconTop GitHub Comments

5reactions
michalzaq12commented, Jun 22, 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

5reactions
HashPloXRcommented, Jun 21, 2019

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)

Read more comments on GitHub >

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

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