run npm i react-color@2.17.3 --save I solved the issue by installing the exact version 2.17.3 (run npm i react-color@2.17.3) just like @somyarocketium said