-
Notifications
You must be signed in to change notification settings - Fork 762
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chartjs 2.2.0 dependencies #452
Comments
This fix isn't included when I pull angular-chart.js from bower. Appreciate it was only committed yesterday but wondering when it might be included in the release? |
@wwarby jtblin is probably on holiday, wait a bit :) It's an exotic dependencie and bower don't know about bower-npm-resolver syntax so it won't be explicit that bower-npm-resolver is missing if someone try to bower install angular-chart. Maybe it's more clear to remove the dependencie and add instructions for Chartjs installation to the readme. (and personnally, I prefer manage exotics dependencies in my bower.json) |
Hi! The instructions are in the README.md of my pull request. Maybe the best is what angular does with a bower-angular repository, that's specific for the bower instalation. Doesn't make any sense if you can use the bower installation of something deprecated. Options: I prefer the option C. |
I was considering removing bower support in 1.x. I moved all the dependencies internally to use npm instead. I think bower is pretty much dead and everybody should use npm now so I'm not going to follow-up with the Chart.js team about why they removed it. In the past, it created issues as they were using different casing or something like that so it might be the reason why. I'm happy to merge @navarroaxel 's PR for now, but if there were going to be more issues supporting bower later on, I might just remove support for it entirely. |
bower install --save angular-chart.js |
getting this in the latest version
|
Hey @dharitdesai, you need to add a .bowerrc file in your project with this config: {
"resolvers": [
"bower-npm-resolver"
]
} and install this package:
|
I am sorry y'all for spamming. @navarroaxel the inital comment was correct. since not all packages will have the mapper, |
It's working for me
Please check you need to use the version 1.0.1+ and the bower-npm-resolver is installed globally (with -g) with NPM. But this is an error in your end. |
Had similar problem on debian, but I was getting the following error:
Had same error using globally installed bower-npm-resolver. Used solution from the following comment: We ended up with the following in
|
thanks ya'll. actually problem was that my node_modules dir was created in the parent dir. moved it. and worked. |
There is no more "dist" folder in Chartjs github repository since v2.2.0
Dependencie in bower.json should be removed
The text was updated successfully, but these errors were encountered: