angular-chart.js
angular-chart.js copied to clipboard
require('Chart.js') fails in case-sensitive file systems
In commit a72a515335c276d0f0e83056d8a9a172b77f9af3, the chart.js depedency has been changed to use uppercase C.
angular-chart.js:5 module.exports = factory(require('angular'), require('Chart.js'));
However, the module name for chart.js uses a lowercase c.
This change makes compilation fail when imported via e.g. browserify on case-sensitive file systems.
Maybe you've mistaken the module name for the actual .js file it exports?
@toostn the change was made by @soladk because it was apparently needed for bower. See https://github.com/jtblin/angular-chart.js/pull/226 for explanation. I will add a try/catch block and try each spelling...