vue脚手架安装成功

Microsoft Windows [版本 10.0.19043.1415]
(c) Microsoft Corporation。保留所有权利。

C:\Users\Administrator>vue
Usage: vue <command> [options]

Options:
-V, --version output the version number
-h, --help output usage information

Commands:
init generate a new project from a template
list list available official templates
build prototype a new project
create (for v3 warning only)
help [cmd] display help for [cmd]

C:\Users\Administrator>vue --version
2.9.6

C:\Users\Administrator> vue inti webpack hello

C:\Users\Administrator> vue init webpack hello

? Project name helloword
? Project description A Vue.js project
? Author yms
? Vue build standalone
? Install vue-router? Yes
? Use ESLint to lint your code? Yes
? Pick an ESLint preset Standard
? Set up unit tests Yes
? Pick a test runner jest
? Setup e2e tests with Nightwatch? Yes
? Should we run `npm install` for you after the project has been created? (recommended) npm

vue-cli · Generated "hello".


# Installing project dependencies ...
# ========================

npm ERR! code ECONNRESET
npm ERR! syscall read
npm ERR! errno ECONNRESET
npm ERR! network Invalid response body while trying to fetch http://registry.npm.taobao.org/babel-jest: read ECONNRESET
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Local\npm-cache\_logs\2022-01-06T02_12_54_017Z-debug.log


Running eslint --fix to comply with chosen preset rules...
# ========================


> helloword@1.0.0 lint
> eslint --ext .js,.vue src test/unit test/e2e/specs "--fix"

'eslint' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

# Project initialization finished!
# ========================

To get started:

cd hello
npm run dev

Documentation can be found at https://vuejs-templates.github.io/webpack

posted @ 2022-01-06 10:16  এএ᭄念卿এএ᭄  阅读(237)  评论(0编辑  收藏  举报