Grunt:常见错误

ylbtech-Grunt:常见错误

 

1.返回顶部
1、
D:\lab6\DS.JZB.Web>grunt build
Running "clean:dist" (clean) task
>> 1 path cleaned.

Running "exec:genGTmpl" (exec) task
Error: directory does not exist
>> Exited with code: 1.
>> Error executing child process: Error: Process exited with code 1.
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
>> 0 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
>> 1 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 69 directories, copied 1484 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
>> 4 files created. 1.1 MB → 1 MB

Running "uglify:generated" (uglify) task
>> 6 files created 1.88 MB → 1.39 MB

Running "filerev:js" (filerev) task
Revved 0 files

Running "filerev:css" (filerev) task
Revved 0 files

Running "usemin:html" (usemin) task
Replaced 44 references to assets

Running "htmlmin:dist" (htmlmin) task
Minified 44 files

Running "clean:tmp" (clean) task
>> 1 path cleaned.

Running "copy:js" (copy) task


Running "clean:build" (clean) task
>> 0 paths cleaned.

Running "compress:main" (compress) task
>> Compressed 1572 files.

Done.

D:\lab6\JFBWeb\DS.JZB.Web>
2、
3.返回顶部
 
4.返回顶部
 
5.返回顶部
 
 
6.返回顶部
 
warn 作者:ylbtech
出处:http://ylbtech.cnblogs.com/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。

转载于:https://www.cnblogs.com/storebook/p/9222935.html

你可能感兴趣的:(webpack)