I'm finding that sources with multiple files are failing to copy, while single file sources are fine. This is the output from grunt bower:
Fail to copy lib file for angular-strap!
/home/simon/code/Dropbox/HTML/afmobile/src/bower_components/angular/angular.js copied.
Fail to copy lib file for bootstrap!
I tweaked your code to get the caught error message:
TypeError: Cannot read property 'keepExpandedHierarchy' of undefined
var flatten = package_opt.keepExpandedHierarchy === false || options.keepExpandedHierarchy === false;
fixes it but I don't know enough about Grunt to know what else this might break
I'm finding that sources with multiple files are failing to copy, while single file sources are fine. This is the output from
grunt bower
:I tweaked your code to get the caught error message:
TypeError: Cannot read property 'keepExpandedHierarchy' of undefined
This is the output from
bower list --path
Here is my config
var flatten =
package_opt.keepExpandedHierarchy === false ||options.keepExpandedHierarchy === false; fixes it but I don't know enough about Grunt to know what else this might break