Я использую генератор углового ползучего генератора, а код построен на другой машине, которую я установил. Недавно я получил новый Mac и клонировал свое репо, и я не могу его построить.Grunt fail on cdnify: dist task
Когда я пытаюсь построить код для распределения с помощью
grunt build
он проваливает cdnify: DIST задачу с ошибкой «Ошибка: строитель не определен»
Мой полный Gruntfile.js является здесь
https://gist.github.com/bodagetta/ad770f7782b52a9e8fb0
Вот соответствующий выход из терминала
Running "concat:generated" (concat) task
File .tmp/concat/app/vendor.css created.
File .tmp/concat/app/app.css created.
File .tmp/concat/app/vendor.js created.
File .tmp/concat/app/app.js created.
Running "ngAnnotate:dist" (ngAnnotate) task
>> 2 files successfully generated.
Running "copy:dist" (copy) task
Created 197 directories, copied 1028 files
Running "cdnify:dist" (cdnify) task
Going through dist/public/index.html to update script refs
Fatal error: builder is not defined
Execution Time (2015-05-17 17:31:09 UTC)
loading tasks 75ms ▇▇ 1%
clean:dist 97ms ▇▇ 2%
concurrent:dist 1s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 16%
wiredep:target 197ms ▇▇▇▇▇ 3%
useminPrepare:html 144ms ▇▇▇ 2%
ngtemplates:main 95ms ▇▇ 2%
concat:generated 145ms ▇▇▇ 2%
ngAnnotate:dist 1.2s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 19%
copy:dist 1.6s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 25%
cdnify:dist 1.6s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 26%
Total 6.3s
Пожалуйста, улучшите вопрос, добавив полный файл Grunfile.js. –
Хорошее предложение, я загрузил его здесь https://gist.github.com/bodagetta/ad770f7782b52a9e8fb0 и изменил исходный вопрос, включив ссылку – bodagetta