无法使用Yeoman创建一个新的角度应用程序

时间:2015-12-27 19:45:16

标签: angularjs

我正在使用节点v4.2.4我安装了Yeoman生成器并尝试创建我的Angular应用程序,如下所示

yo angular myApp 

我收到以下错误

You don't seem to have a generator with the name angular:common:/usr/local/lib/node_modules/generator-angular/app/index.js installed.
You can see available generators with npm search yeoman-generator and then install them with npm install [name].
To see the 15 registered generators run yo with the `--help` option.

运行yo --help后,我得到以下结果

Available Generators:
  angular
    common
    constant
    controller
    decorator
    directive
    factory
    filter
    main
    provider
    route
    service
    value
    view
  karma

我在这里错过了什么吗?

0 个答案:

没有答案