Grunt fail build “Arguments to path.join must be s

2019-06-06 23:01发布

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.

1条回答
趁早两清
2楼-- · 2019-06-06 23:23

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.

查看更多
登录 后发表回答