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 ui can't create a project

See original GitHub issue

Version

3.7.0

Environment info

Environment Info:

  System:
    OS: Windows 10
    CPU: (2) x64 Intel(R) Pentium(R) CPU G3258 @ 3.20GHz
  Binaries:
    Node: 10.15.3 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.15.2 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 6.9.0 - C:\c\Users\金龙\.npm-packages\npm.CMD
  Browsers:
    Edge: 44.17763.1.0
  npmPackages:
    vue-hot-reload-api: ^1.3.3 => 1.3.3
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce

  1. enter “vue ui” in gitbash

  2. enter http://localhost:8000, step by step, the end, create project but it’s failed

  3. gitbash error message: { Error: Command failed: vue create vuevue --skipGetStarted --packageManager yarn --inlinePreset {“useConfigFiles”:false,“plugins”:{“@vue/cli-plugin-babel”:{},“@vue/cli-plugin-eslint”:{“config”:“standard”,“lintOn”:[“save”]}},“cssPreprocessor”:“stylus”}

    at makeError (C:\Users\金龙\AppData\Local\Yarn\Data\global\node_modules\execa\index.js:174:9) at Promise.all.then.arr (C:\Users\金龙\AppData\Local\Yarn\Data\global\node_modules\execa\index.js:278:16) at process._tickCallback (internal/process/next_tick.js:68:7) code: 1, stdout: ‘’, stderr: null, failed: true, signal: null, cmd: ‘vue create vuevue --skipGetStarted --packageManager yarn --inlinePreset {“useConfigFiles”:false,“plugins”:{“@vue/cli-plugin-babel”:{},“@vue/cli-plugin-eslint”:{“config”:“standard”,“lintOn”:[“save”]}},“cssPreprocessor”:“stylus”}’, timedOut: false, killed: false }

What is expected?

resolve create project in vue ui

What is actually happening?

I can’t create project in vue ui

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:19 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
YangGoldDragoncommented, May 7, 2019

@YangGoldDragon Quick workaround for this probrem is:

  1. copy cmd in error message
  2. quote --git, --inlinePreset (if these option exist)
  3. run in bash

For example, your command after this procedure is below.

vue create vuevue --skipGetStarted --packageManager yarn --inlinePreset '{"useConfigFiles":false,"plugins":{"@vue/cli-plugin-babel":{},"@vue/cli-plugin-eslint":{"config":"standard","lintOn":["save"]}},"cssPreprocessor":"stylus"}'

(If it still fails, removing --skipGetStarted may resolve.)

Thanks, I have already resolve this problem by your provide commands, But what is problems with “vue ui”, Why it can’t be use to correct create a project, I have some Obsessive compulsive disorders, it make me uncomfortable

1reaction
WL-Amigocommented, May 6, 2019

@YangGoldDragon Quick workaround for this probrem is:

  1. copy cmd in error message
  2. quote --git, --inlinePreset (if these option exist)
  3. run in bash

For example, your command after this procedure is below.

vue create vuevue --skipGetStarted --packageManager yarn --inlinePreset '{"useConfigFiles":false,"plugins":{"@vue/cli-plugin-babel":{},"@vue/cli-plugin-eslint":{"config":"standard","lintOn":["save"]}},"cssPreprocessor":"stylus"}'

(If it still fails, removing --skipGetStarted may resolve.)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't create or import a project in vue ui - Stack Overflow
I have solved it after trying for a week. type npm install -g @vue/cli-init. in the command line. then vue ui is OK....
Read more >
Creating a Project | Vue CLI
The above command will open a browser window with a GUI that guides you through the project creation process. UI preview. Pulling 2.x...
Read more >
[Solved]-Vue CLI got error code 4058 when create project-Vue.js
Steps I used to fix this issue: If you type "vue ui" in the console (make sure you're in the directory where you...
Read more >
Creating and Managing Vue Projects with Vue UI - Telerik
If you've created Vue projects without using the Vue UI, they won't be listed in the Projects tab. The Import feature of the...
Read more >
Vue JavaScript Tutorial in Visual Studio Code
js is a popular JavaScript library for building web application user interfaces and Visual Studio Code has built-in support for the Vue.js building...
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