用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
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
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
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!
? ──────────────
表示什么意思???
2016-10-28
yo -v 會顯示版本號,但是你貌似使用的是windows的cmd吧,安裝個git,使用git自帶的git-bash應該就可以了
2016-11-16
新版本的Yeoman不支持 ?yo -v 命令了, 用?yo --version吧。