2015-10-14 74 views
2

我把安裝喲發電機像角,角fullstack,CG-角度使用這些命令:安裝自耕農發電機,然後找不到它

npm install -g generator-angular 
npm install -g generator-angular-fullstack 
npm install -g generator-cg-angular 

但是,當我嘗試喲命令我不使用它們找不到它們

You don't seem to have a generator with the name angular:controller installed. 
You can see available generators with npm search yeoman-generator and then install them with npm install [name]. 
To see the 1 registered generators run yo with the `--help` option. 


? 'Allo Noor! What would you like to do? 
    Run a generator 
    Webapp 
    ────────────── 
    Update your generators 
    Install a generator 
    Find some help 
❯ Get me out of here! 
    ────────────── 

回答

0

我相信如果你使用「npm clean cache」並嘗試使用相同的命令就可以解決。