2015-10-14 71 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”并尝试使用相同的命令就可以解决。

相关问题