简体   繁体   中英

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM