[Chartjs]-How to include Chart.js in my AngularJS project?

1👍

There are 0 vulnerabilities in your install. what you call error is just WARN means warnings, which can be ignored, Chart.js has successfully installed. you should be good to go.

If you want to get rid of these warnings, as it says You must install peer dependencies yourself.

Try npm install jasmine-core@>=3.5

0👍

npm decided to add a new command: npm fund that will provide more visibility to npm users on what dependencies are actively looking for ways to fund their work.

npm install will also show a single message at the end in order to let user aware that dependencies are looking for funding, it looks like this:

$ npm install
13 packages are looking for funding.
run `npm fund` for details.

Running npm fund will open the url listed for that given package right in your browser.

npm funding does not mean that the package is not installed , your package is successfully installed.

please check this for more information

0👍

you didnt get any errors only warnings, you can ignore them.
first of all you can download manually from https://github.com/jtblin/angular-chart.js
but you already installed them from npm so try to include it in your project

when you load your angular module dont forget to use

angular.module('myModule', ['chart.js']);

let us know if you were able to use it , best of luck !

Leave a comment