2๐
โ
As described in the readme of the zoom plugin you need to use version 0.7.7 if you want to use it together with Chart.js V2. If you want to use the latest version of zoom you will need to update Chart.js to V3 but this has a lot of major breaking changes
For Chart.js 2.6.0 to 2.9.x support, use version 0.7.7 of this plugin.
To install a specific version of a lib you can specify it after it like so:
npm install chartjs-plugin-zoom@0.7.7
Source:stackexchange.com