为了账号安全,请及时绑定邮箱和手机立即绑定

用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!

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

表示什么意思啊?

正在回答

2 回答

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

0 回复 有任何疑惑可以回复我~
#1

慕少5780138 提问者

非常感谢!在git-bash打开吗!谢谢
2016-11-02 回复 有任何疑惑可以回复我~

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

11 回复 有任何疑惑可以回复我~
#1

行走的指尖

真的对了,谢谢你
2016-12-21 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

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

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信