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.

vue init stuck at project description when running vue init webpack <name>

See original GitHub issue

Version

3.8.4

Environment info

System:
    OS: Linux 4.15 Ubuntu 18.04.1 LTS (Bionic Beaver)
    CPU: (8) x64 Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
  Binaries:
    Node: 12.4.0 - ~/.nvm/versions/node/v12.4.0/bin/node
    Yarn: Not Found
    npm: 6.9.0 - ~/.nvm/versions/node/v12.4.0/bin/npm
  Browsers:
    Chrome: Not Found
    Firefox: 67.0.3
  npmGlobalPackages:
    @vue/cli: 3.8.4

Steps to reproduce

run vue init webpack <name>

What is expected?

Vue scaffold is created

What is actually happening?

Vue hangs on project description


I am aware that this was an issue with node v8, but I am getting this issue with the latest node version

Stuck here: ? Project name ? Project description (A Vue.js project)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:27
  • Comments:18 (2 by maintainers)

github_iconTop GitHub Comments

7reactions
Livan-procommented, Jun 20, 2019

For those, who is looking for temporary fix of vue init command. PowerShell (Windows):

cd "$(Split-Path $(whereis vue)[0] -Parent)\node_modules\@vue\cli-init"
npm i inquirer@~6.3.1

bash:

cd "$(dirname $(which vue))/node_modules/@vue/cli-init"
npm i inquirer@~6.3.1
6reactions
asdicocommented, Jun 20, 2019

Same issue.

I’m working in Mac OSX. 🤷🏻‍♂️

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does "Vue init" hang? - Stack Overflow
The wizard asks me to enter the project name, and then the description. I hit "Enter" for the project name. I try to...
Read more >
Stuck here! what is going on - Vue Forum
Stuck here! what is going on ... but vue init webpack project is wrong ... updata your OS to latest version. then run...
Read more >
How to setup a vue project with webpack. - DEV Community ‍ ‍
Configure webpack to use babel loader, and vue loader ... In the file you created, run the command npm init –y to create...
Read more >
Common mistakes to avoid while working with Vue.js
// #1: import full build in JavaScript file import Vue from 'vue/dist/vue.js'; // OR #2: make an alias in webpack configuration config.resolve: ...
Read more >
Build a Basic CRUD App with Vue.js and Node | Okta Developer
Next, you need to initialize your project. When you run the vue init command just accept all the default values. vue init pwa...
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