Grunt:常见错误

时间:2022-03-10 06:22:26
ylbtech-Grunt:常见错误
1.返回顶部
1、
D:\lab6\DS.JZB.Web>grunt build
Running "clean:dist" (clean) task
>> path cleaned. Running "exec:genGTmpl" (exec) task
Error: directory does not exist
>> Exited with code: .
>> Error executing child process: Error: Process exited with code .
Warning: Task "exec:genGTmpl" failed. Use --force to continue. Aborted due to warnings. D:\lab6\DS.JZB.Web>
2、
D:\lab6\DS.JZB.Web>grunt build
Running "clean:dist" (clean) task
>> paths cleaned. Running "exec:genGTmpl" (exec) task
Verifying property exec.genGTmpl exists in config...ERROR
>> Unable to process task.
Warning: Required config property "exec.genGTmpl" missing. Use --force to contin
ue. Aborted due to warnings. D:\lab6\DS.JZB.Web>
3、
2.返回顶部
1、
D:\lab6\JFBWeb\DS.JZB.Web>grunt build
Running "clean:dist" (clean) task
>> path cleaned. Running "exec:genGTmpl" (exec) task
• platforminfo/loginacc/add :v17
• platforminfo/loginacc/edit :v14
• platforminfo/loginacc/index :v15
• platforminfo/loginacc/itemlist :v4 Running "exec:genSTmpl" (exec) task
• platforminfo/loginacc/add :v17
• platforminfo/loginacc/edit :v14
• platforminfo/loginacc/index :v13
• platforminfo/loginacc/itemlist :v4 Running "copy:dist" (copy) task
Created directories, copied files Running "copy:js" (copy) task Running "useminPrepare:html" (useminPrepare) task
Configuration changed for concat, uglify, cssmin Running "concat:generated" (concat) task Running "cssmin:generated" (cssmin) task
>> files created. 1.1 MB → MB Running "uglify:generated" (uglify) task
>> files created 1.88 MB → 1.39 MB Running "filerev:js" (filerev) task
Revved files Running "filerev:css" (filerev) task
Revved files Running "usemin:html" (usemin) task
Replaced references to assets Running "htmlmin:dist" (htmlmin) task
Minified files Running "clean:tmp" (clean) task
>> path cleaned. Running "copy:js" (copy) task Running "clean:build" (clean) task
>> paths cleaned. Running "compress:main" (compress) task
>> Compressed files. Done. D:\lab6\JFBWeb\DS.JZB.Web>
2、
3.返回顶部
 
4.返回顶部
 
5.返回顶部
 
 
6.返回顶部
 
Grunt:常见错误 作者:ylbtech
出处:http://ylbtech.cnblogs.com/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。