简体   繁体   中英

Yo command is not recognized

I am new to these command and following a book to start Angular.js

npm install –g grunt-cli
npm install –g bower
npm install –g generator-angular

all commands are successfully run then I am creating a folder in C:\\StockDog and running the command "yo angular StockDog" but it throws the error that yo command is not recognized. I added the path to PATH variable in MyComputer Environmental variable %AppData%\\npm but same error yo command is not found.Please suggest why i am getting this error

您需要安装Yeoman( npm install -g yo )来运行Yeoman生成器,例如generator-angular它们不能单独工作。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM