Im trying to install react input switch but i keep getting this error:
gomer@Gomers-MBP reactdentonline % npm install react-input-switch --save
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: reactdentonline@0.1.0
npm ERR! Found: react@17.0.2
npm ERR! node_modules/react
npm ERR! react@"^17.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.6.3" from react-input-switch@2.2.2
npm ERR! node_modules/react-input-switch
npm ERR! react-input-switch@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/gomer/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/gomer/.npm/_logs/2021-05-22T13_14_14_559Z-debug.log
gomer@Gomers-MBP reactdentonline %
Any idea what is wrong cause i dont want to use force.