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

来源:2-2 Yeoman, Bower, Grunt简介及安装

慕少5780138

2016-10-27 22:35

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!

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

表示什么意思啊?

写回答 关注

2回答

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

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

    慕少5780...

    非常感谢!在git-bash打开吗!谢谢

    2016-11-02 00:26:12

    共 1 条回复 >

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

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

    行走的指尖

    真的对了,谢谢你

    2016-12-21 14:22:58

    共 1 条回复 >

Grunt-beginner前端自动化工具

通过配置Grunt自动化工具,提高您的工作效率,出乎您的想象

60388 学习 · 408 问题

查看课程

相似问题