D:javaHYYJ>npm -v 查看npm的版本
6.13.4 D:javaHYYJ>node -v 查看node.js的版本
v12.16.1 D:javaHYYJ>npm install -g @vue/cli Vue/cli安装
npm WARN deprecated subscriptions-transport-ws@0.9.19: The `subscriptions-transport-ws` package is no longer maintained. We recommend you use `graphql-ws` instead. For help migrating Apollo software to `graphql-ws`, see https://www.apollographql.com/docs/apollo-server/data/subscriptions/#switching-from-subscriptions-transport-ws For general help using `graphql-ws`, see https://github.com/enisdenjo/graphql-ws/blob/master/README.md
npm WARN deprecated graphql-tools@4.0.8: This package has been deprecated and now it only exports makeExecutableSchema.nAnd it will no longer receive updates.nWe recommend you to migrate to scoped packages such as @graphql-tools/schema, @graphql-tools/utils and etc.nCheck out https://www.graphql-tools.com to learn what package you should use instead
npm WARN deprecated apollo-cache-control@0.14.0: The functionality provided by the `apollo-cache-control` package is built in to `apollo-server-core` starting with Apollo Server 3. See https://www.apollographql.com/docs/apollo-server/migration/#cachecontrol for details.
npm WARN deprecated apollo-tracing@0.15.0: The `apollo-tracing` package is no longer part of Apollo Server 3. See https://www.apollographql.com/docs/apollo-server/migration/#tracing for details
npm WARN deprecated graphql-extensions@0.15.0: The `graphql-extensions` API has been removed from Apollo Server 3. Use the plugin API instead: https://www.apollographql.com/docs/apollo-server/integrations/plugins/
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
F:nodenode_globalvue -> F:nodenode_globalnode_modules@vueclibinvue.js
> core-js-pure@3.22.8 postinstall F:nodenode_globalnode_modules@vueclinode_modulescore-js-pure
> node -e "try{require('./postinstall')}catch(e){}"
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js:
> https://opencollective.com/core-js
> https://patreon.com/zloirock
> bitcoin: bc1qlea7544qtsmj2rayg0lthvza9fau63ux0fstcz
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
> @apollo/protobufjs@1.2.2 postinstall F:nodenode_globalnode_modules@vueclinode_modules@apolloprotobufjs
> node scripts/postinstall
+ @vue/cli@5.0.4
added 890 packages from 532 contributors in 106.268s
Usage: vue
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
create [options] create a new project powered by vue-cli-service
add [options]
invoke [options]
inspect [options] [paths...] inspect the webpack config in a project with vue-cli-service
serve alias of "npm run serve" in the current project
build alias of "npm run build" in the current project
ui [options] start and open the vue-cli ui
init [options] generate a project from a remote template (legacy API, requires
@vue/cli-init)
config [options] [value] inspect and modify the config
outdated [options] (experimental) check for outdated vue cli service / plugins
upgrade [options] [plugin-name] (experimental) upgrade vue cli service / plugins
migrate [options] [plugin-name] (experimental) run migrator for an already-installed cli plugin
info print debugging information about your environment
help [command] display help for command
Run vue
D:javaHYYJ>vue --version 查看vue/cli的版本
@vue/cli 5.0.4
Vue CLI v5.0.4
? Please pick a preset: Default ([Vue 3] babel, eslint)
Vue CLI v5.0.4
✨ Creating project in D:javaHYYJgetway-web.
Initializing git repository...
⚙️ Installing CLI plugins. This might take a while...
> yorkie@2.0.0 install D:javaHYYJgetway-webnode_modulesyorkie
> node bin/install.js
setting up Git hooks
done
> core-js@3.22.8 postinstall D:javaHYYJgetway-webnode_modulescore-js
> node -e "try{require('./postinstall')}catch(e){}"
added 841 packages from 463 contributors in 47.934s
72 packages are looking for funding
run `npm fund` for details
Invoking generators...
Installing additional dependencies...
added 94 packages from 62 contributors in 19.085s
82 packages are looking for funding
run `npm fund` for details
Running completion hooks...
Generating README.md...
Successfully created project getway-web.
Get started with the following commands:
$ cd getway-web
$ npm run serve
D:javaHYYJ> cd getway-web 打开getway_web项目 D:javaHYYJgetway-web>npm run serve 运行getway_web项目
> getway-web@0.1.0 serve D:javaHYYJgetway-web
> vue-cli-service serve
INFO Starting development server...
DONE Compiled successfully in 7491ms 21:15:11
App running at:
- Local: http://localhost:8081/
- Network: http://172.20.10.2:8081/ 运行成功通过连接打开页面
Note that the development build is not optimized.
To create a production build, run npm run build.



