您的位置:首页 > 产品设计 > UI/UE

Warning: Path must be a string . Received null Use --force to continue

2017-05-11 14:40 621 查看
用grunt监视文件,当文件修改时,出现'Warning: Path must be a string . Received null Use --force to continuechuxian 。



这个问题是因为没有设置reporterOutput,修改Gruntfile.js,添加如下



reporterOutput是设置错误报告的输出路径,默认为null,可以是一个文件名,则报告会输出到文件中,如果设为空字符串"",则会控制台打印。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  Grunt Jshint yeoman
相关文章推荐