-
Notifications
You must be signed in to change notification settings - Fork 761
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
Package npm:chart.js not found #467
Comments
Well, this happens because of |
+1 Having the same issue. Checked it out and the bower.json looks like chart.js is pulling in the wrong string for a version, grabbing "npm:chart.js#2.x" instead of "2.x". Best fix for now would be to just revert to 1.0.0. |
Have you followed the instructions in the readme and install the On 18 Aug 2016 6:28 AM, "kklein623" [email protected] wrote:
|
I have the same issue, and I followed the instructions in the readme. It seems that angular-chart.js do not find chart.js . I think this is the same problem as #466 |
@TimmyParkwayd out of curiosity, why can't you use npm instead of bower? |
Hello @jtblin . |
Maybe you should use something like webpack to combine all dependencies into a bundle and use this bundle but ¯_(ツ)_/¯. |
There no easier way to do it ? :( |
@TimmyParkwayd if you wanna know more about this npm-only choice, check here chartjs/Chart.js#3033 it's as simple as a : |
I'm running into the same problem. I'm using gulp and bower-files to merge all the js supporting files. Although using the npm:chart can install chart with bower, it still breaks my merged file. It keeps complaining something like "Module 'chart.js' is not available". Wonder if there is a solution to that. Edited: my problem is solved with in another issue, and here is the solution |
@TimmyParkwayd It doesn't work anymore because Chart.js removed support for bower. We'll give it a try to the 'overrides` option but if that doesn't work then we'll have to follow Chart.js and remove bower support entirely as well. |
Closing as duplicate of #466 |
I've had this problem as well, and using the build tooling (grunt, grunt-bower-task) for this project i've been unable to resolve it using any combination of the available options. Is it possible that angular-chart.js could refer to chartjs in it's bower.json by github repo? That way bower works without requiring an npm dependency as well. |
Hi there, Charts.js bower native support its back, you could update your dependency now and it should work as expected. :) Edit: oh... its on release candidate =( |
Overview
Installing of the
angular-chart.js
is broken.Step to reproduce
Just try to run
bower install angular-chart.js
and see the erros below:The text was updated successfully, but these errors were encountered: