Сборка Grunt с сгенерированным Yeoman разрывом файла Grunt с кодом ошибки EISDIR

Я пытаюсь запустить задачу сборки grunt по умолчанию с помощью созданного yeoman файла Gruntfile.js.

Этот файл работает для сгенерированного приложения, но как только я заменяю файлы файлами моего текущего приложения, у меня появляется предупреждение, прерывающее процесс.

Вот след:

Running "clean:dist" (clean) task
>> 31 paths cleaned.

Running "wiredep:app" (wiredep) task

Running "wiredep:test" (wiredep) task

Running "useminPrepare:html" (useminPrepare) task
Configuration changed for concat, uglify, cssmin

Running "concurrent:dist" (concurrent) task

Running "svgmin:dist" (svgmin) task
Total saved: 0 B

Done, without errors.


Execution Time (2015-04-13 14:28:10 UTC)
loading tasks   6ms  ████ 8%
svgmin:dist    68ms  ███████████████████████████████████████████ 91%
Total 75ms

Running "copy:styles" (copy) task
Copied 12 files

Done, without errors.


Execution Time (2015-04-13 14:28:10 UTC)
loading tasks    4ms  ██ 3%
copy:styles    131ms  ██████████████████████████████████████████████ 96%
Total 136ms

Running "imagemin:dist" (imagemin) task
Minified 315 images (saved 1.39 MB)

Done, without errors.


Execution Time (2015-04-13 14:28:10 UTC)
imagemin:dist  10.9s  ███████████████████████████████████████████████ 100%
Total 10.9s

Running "autoprefixer:server" (autoprefixer) task
>> 12 autoprefixed stylesheets created.

Running "autoprefixer:dist" (autoprefixer) task
>> 12 autoprefixed stylesheets created.

Running "concat:generated" (concat) task
File .tmp\concat\scripts\vendor.js created.
File .tmp\concat\scripts\scripts.js created.
File .tmp\concat\filters created.
Warning: Unable to write ".tmp\concat\scripts\" file (Error code: EISDIR).   Use --force to continue.

Я не знаю, откуда это могло взяться. Кажется, это происходит из задачи useminPrepare, которая затем вызывает concat, но я не уверен:

useminPrepare: {
  html: '<%= yeoman.app %>/index.html',
  options: {
    dest: '<%= yeoman.dist %>',
    flow: {
      html: {
        steps: {
          js: ['concat', 'uglifyjs'],
          css: ['cssmin']
        },
        post: {}
      }
    }
  }
}

Спасибо за вашу помощь.

[EDIT] моя задача concat прокомментирована в сгенерированном по умолчанию Gruntfile.js

// The following *-min tasks will produce minified files in the dist folder
// By default, your `index.html`'s <!-- Usemin block --> will take care of
// minification. These next options are pre-configured if you do not wish
// to use the Usemin blocks.
// cssmin: {
//   dist: {
//     files: {
//       '<%= yeoman.dist %>/styles/main.css': [
//         '.tmp/styles/{,*/}*.css'
//       ]
//     }
//   }
// },
// uglify: {
//   dist: {
//     files: {
//       '<%= yeoman.dist %>/scripts/scripts.js': [
//         '<%= yeoman.dist %>/scripts/scripts.js'
//       ]
//     }
//   }
// },
// concat: {
//   dist: {}
// },

person user2401221    schedule 13.04.2015    source источник
comment
Можете ли вы опубликовать блок конфигурации вашей задачи concat?   -  person doldt    schedule 13.04.2015
comment
это использование для вас в полной мере "> stackoverflow.com/questions/14452751/`   -  person vamsikrishnamannem    schedule 13.04.2015
comment
@vamsikrishnamannem, у меня последняя версия grunt, и у меня нигде нет этого паттерна.   -  person user2401221    schedule 13.04.2015
comment
у вас должна быть где-то другая конфигурация concat, иначе grunt не распознает запущенную задачу concat:generated. Сколько вхождений слова сгенерировано в вашем gruntfile?   -  person doldt    schedule 13.04.2015
comment
У меня есть только одно появление в задаче копирования сгенерированного слова   -  person user2401221    schedule 13.04.2015
comment
Опубликуйте свой Gruntfile.js   -  person mustaphahawi    schedule 17.04.2015