问答详情
源自:2-2 Yeoman, Bower, Grunt简介及安装

用yo -v事显示的,什么意思啊?

Yeoman Doctor

Running sanity checks on your system


√ Global configuration file is valid

√ NODE_PATH matches the npm root

√ Node.js version

√ No .bowerrc file in home directory

√ No .yo-rc.json file in home directory

√ npm version


Everything looks all right!

C:\Users\Administrator\AppData\Roaming\npm

`-- yo@1.8.5



C:\Users\Administrator>yo -v

? 'Allo! What would you like to do? (Use arrow keys)

  Run a generator

> Angular

  ──────────────

  Update your generators

  Install a generator

  Find some help

  Get me out of here!

  ──────────────

Yeoman Doctor

Running sanity checks on your system


√ Global configuration file is valid

√ NODE_PATH matches the npm root

√ Node.js version

√ No .bowerrc file in home directory

√ No .yo-rc.json file in home directory

√ npm version


Everything looks all right!

C:\Users\Administrator\AppData\Roaming\npm

`-- yo@1.8.5



C:\Users\Administrator>yo -v

? 'Allo! What would you like to do? (Use arrow keys)

  Run a generator

> Angular

  ──────────────

  Update your generators

  Install a generator

  Find some help

  Get me out of here!

  ──────────────Yeoman Doctor

Running sanity checks on your system


√ Global configuration file is valid

√ NODE_PATH matches the npm root

√ Node.js version

√ No .bowerrc file in home directory

√ No .yo-rc.json file in home directory

√ npm version


Everything looks all right!

C:\Users\Administrator\AppData\Roaming\npm

`-- yo@1.8.5



C:\Users\Administrator>yo -v

? 'Allo! What would you like to do? (Use arrow keys)

  Run a generator

> Angular

  ──────────────

  Update your generators

  Install a generator

  Find some help

  Get me out of here!

  ──────────────

表示什么意思啊?

提问者:慕少5780138 2016-10-27 22:35

个回答

  • 敬峰
    2016-10-28 15:36:20
    已采纳

    yo -v 会显示版本号,但是你貌似使用的是windows的cmd吧,安装个git,使用git自带的git-bash应该就可以了

  • ATWJSW
    2016-11-16 16:06:26

    新版本的Yeoman不支持  yo -v 命令了, 用 yo --version吧。