Closed BernieGraham closed 10 years ago
I assume mustache points to the github repo https://github.com/janl/mustache.js/ which has no bower.json file, thus the bundle does not know which resources from the package it should provide.
That's a problem with many js libs.. there seem to be a billion different js dependency managers in use out there :-1: The mustache.js in question is providing definitions for nuget(wtf?) and npm, but not bower.
Wow, I'm sorry I missed that. It appears that you're totally right. I feel I'm going to have to understand bower.io bettter. http://bower.io links to http://sindresorhus.com/bower-components/ which clearly lists mustache. Yet on http://bower.io "You must create a bower.json in your project's root". So I can only imagine why they'd list and link to packages that don't have a bower.json file.
In the meantime, I'm going to try to fork the projects that I want to use and make bower.json files for them. I'll report back if I discover more about http://bower.io.
Thanks Again!
I've been using the SpBowerBundle and I love it for being able to use bower easier. Thanks!
For some reason when I try to add 'mustache', it doesn't show up as an available asset when I run 'app/console sp:bower:list'. (of course this is after I ran sp:bower:install and see the mustache lib in the proper resources directory)
From bower.json :
"dependencies": { "mustache" : "master", "underscore" : "master" }
Any thoughts?
Thanks again!