Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Grunt fail build "Arguments to path.join must be strings" error

Grunt fail build "Arguments to path.join must be strings" error

Problem

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.

Problem courtesy of: Kurren

Solution

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.

Solution courtesy of: passy

Discussion

View additional discussion.



This post first appeared on Node.js Recipes, please read the originial post: here

Share the post

Grunt fail build "Arguments to path.join must be strings" error

×

Subscribe to Node.js Recipes

Get updates delivered right to your inbox!

Thank you for your subscription

×