Angularjs 无法安装gulp angular

Angularjs 无法安装gulp angular,angularjs,gulp,yo,Angularjs,Gulp,Yo,我第一次使用gulp angular,并关注以下博客: 当我浏览安装问题时,它就爆炸了,在因果报应上 我在Ubuntu14上的一个流浪者盒子里,节点v0.10.37,NPM2.7.5 任何指点都将不胜感激 fluent@vagrant-ubuntu-trusty-64:~/fluent/client$ yo gulp-angular myapp . . ? Which version of Angular do you want? 1.3.x (latest) ? Which Angular's

我第一次使用gulp angular,并关注以下博客:

当我浏览安装问题时,它就爆炸了,在因果报应上

我在Ubuntu14上的一个流浪者盒子里,节点v0.10.37,NPM2.7.5

任何指点都将不胜感激

fluent@vagrant-ubuntu-trusty-64:~/fluent/client$ yo gulp-angular myapp
.
.
? Which version of Angular do you want? 1.3.x (latest)
? Which Angular's modules would you want to have? (ngRoute and ngResource will be addressed after) angular-animate.js (enable animation features),  angular-cookies.js (handle cookie management), angular-touch.js (for mobile development), angular-sanitize.js (to securely parse and manipulate HTML)
? Would you need jQuery or perhaps Zepto? None (Angular will use its own jqLite)
? Would you like to use a REST resource library? None, $http is enough!
? Would you like to use a router ? ngRoute, the official router
? Which UI framework do you want? Bootstrap, the most popular HTML, CSS, and JS framework
? How do you want to implements your Bootstrap components? Angular UI Bootstrap, Bootstrap components written in pure AngularJS by the AngularUI Team
? Which CSS preprocessor do you want? Sass (Node), Node.js binding to libsass, the C version of the popular stylesheet preprocessor, Sass.
? Which JS preprocessor do you want? None, I like to code in standard JavaScript.
? Which html template engine would you want? None, I like to code in standard HTML.
Template processing error on file karma.conf.js

events.js:72
    throw er; // Unhandled 'error' event
          ^
AssertionError: Trying to copy from a source that does not exist:     /usr/lib/node_modules/generator-gulp-angular/app/templates/karma.conf.js
at EditionInterface.exports._copySingle (/usr/lib/node_modules/generator-  gulp-angular/node_modules/yeoman-generator/node_modules/mem-fs- editor/actions/copy.js:44:3)
一些额外的信息,不确定如何理解,有一个_karma.conf.js文件

myapp@vagrant-ubuntu-trusty-64:/usr/lib/node_modules/generator-gulp-angular/app/templates$ ls
_bower.json      e2e          gulp          _.jshintrc      _package.json         src        tslint.json
coffeelint.json  _.gitignore  _gulpfile.js  _karma.conf.js  protractor.conf.js  _tsd.json
编辑

我必须对所有npm命令使用sudo。这正常吗

编辑2

根据github问题,从app/files.json中删除对karma.conf.js的引用完成了任务


我想总有一天会有一个正式的修正。

看起来最近有一些活动。也许发电机的v0.11.0会修复它?@JasonSwett根据发行说明,它已经修复。