Can not resolve chart.js
See original GitHub issueERROR in ./~/react-chartjs-2/lib/index.js
Module not found: Error: Can't resolve 'chart.js' in 'node_modules/react-chartjs-2/lib'
Issue Analytics
- State:
- Created 6 years ago
- Reactions:21
- Comments:15
Top Results From Across the Web
Error: Can't resolve 'chart.js' in /node_modules/ng2-charts ...
ng2-charts is just an angular wrapper for Chart.js library. ... For me an older version was installed Try "npm install chartjs@3.7.1".
Read more >Can't resolve 'chart.js' · Issue #220 · reactjs/react-chartjs - GitHub
I installed react-chartjs via NPM and when i try and use Pie i get the error Error Can't resolve 'chart.js' in ...
Read more >Webpack Error "Can't resolve chart.js&
I'm getting "Can't resolve chart.js" when including mdbpro in my webpack config. This is the line in the webpack.config: import 'mdbootstrap-pro';. Do I ......
Read more >Deploy error-- chart.js - Build debugging - Fly.io
I was able to solve this issue by changing from the npm install approach to including a local chart.js file in my assets...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
chart.js is a peer dependancy. make sure you include a version in your package.json yourself
Don’t install chartjs like I did! Make sure to:
https://www.npmjs.com/package/chart.js?activeTab=readme