用yo -v事顯示的,什么意思?。?/h1>
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!
? ──────────────
表示什么意思?。?/p>
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!
? ──────────────
表示什么意思?。?/p>
2016-10-28
yo -v 會(huì)顯示版本號(hào),但是你貌似使用的是windows的cmd吧,安裝個(gè)git,使用git自帶的git-bash應(yīng)該就可以了
2016-11-16
新版本的Yeoman不支持 ?yo -v 命令了, 用?yo --version吧。