Closed DanielRuf closed 2 years ago
Hey @DanielRuf, thanks for sharing. You can run npm install chartkick
to fix, but prefer to keep the installation instructions simple.
Well, the warning is there for good reasons.
import 'chartkick/chart.js'
This will also fail with yarn v2 and probably future npm versions unless we run npm i chartkick
. The current approach is not the ideal way.
The eslint rule
import/no-extraneous-dependencies
throws an error becausechartkick
is not listed inpackage.json
when you follow the setup steps.