Grunt fail build“path.join的参数必须是字符串”错误 [英] Grunt fail build "Arguments to path.join must be strings" error

查看:113
本文介绍了Grunt fail build“path.join的参数必须是字符串”错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

更新到节点0.10.0,现在当Grunt服务器仍然工作时,Grunt(build)和Grunt Test在运行useminPrepare:html(useminPrepare)任务时返回参数path.join必须是字符串错误,有效地失败

设置:
节点:0.10.0
Yeoman:1.0.0-beta.3
Grunt:grunt -cli v0.1.6,grunt v0.4.0rc7



我知道这里有一些修正,但是尝试了所有建议的解决方案(npm cache clear,Grunt reinstall等)没有成功。



任何帮助表示赞赏。

解决方案

已经在这里回答: Yeoman哟webapp与TypeError失败



引用我自己:


这是Bower中的错误,已经修复。您可以手动
更新您的bower安装或等待更新的生成器。
这是
提交

固定问题。



Updated to Node 0.10.0, now while Grunt server still works, Grunt (build) and Grunt Test return "Arguments to path.join must be strings" error on Running "useminPrepare:html" (useminPrepare) task, effectively failing to build.

Set up: Node: 0.10.0 Yeoman: 1.0.0-beta.3 Grunt: grunt-cli v0.1.6, grunt v0.4.0rc7

I know there's some fix been made, but tried all suggested solutions (npm cache clear, Grunt reinstall, etc.) with no success.

Any help appreciated.

解决方案

This question has been answered before here: Yeoman yo webapp fails with TypeError

To quote myself:

This was an error in Bower and got already fixed. You can manually update your bower installation or wait for the updated generators. This is the commit that fixed the issue.

这篇关于Grunt fail build“path.join的参数必须是字符串”错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆