vue ui can't create a project
See original GitHub issueVersion
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
-
enter “vue ui” in gitbash
-
enter http://localhost:8000, step by step, the end, create project but it’s failed
-
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:
- Created 4 years ago
- Comments:19 (4 by maintainers)
Top GitHub Comments
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
@YangGoldDragon Quick workaround for this probrem is:
cmd
in error message--git
,--inlinePreset
(if these option exist)For example, your command after this procedure is below.
(If it still fails, removing
--skipGetStarted
may resolve.)