I'm using react v-18, while installing react-virtualized it shows a error of dependency conflict, is it ok to use --force command ?
try npm install react-virtualized --legacy-peer-deps or you can use --force command. It's happening because when you are installing packages using npm, npm calculates whether there's any probability of having a conflict so if there is a chance of conflict npm doesn't allow it to be installed so these warnings are being shown and so we have to force npm to install the package.