I am creating a doughnut chart by using chart.js with its react wrapper. It's working fine in the new project, but not able to install it in the main project.
Below is an example of a new project where it's working fine.
And below is the example of the main old project, where I am not able to install it
Error:
The engine “node” is incompatible with this module
Node version is the same, you can check in both images.
You need to upgrade your node version. As you are using husky v4, you need node >= 10.
Check husky installation guide and The engine “node” is incompatible with this module.