Hi guys I have a problem with NPM dependencies.
It turns out that in my project, I'm using React version 17.0.2 but I have several libraries that depend on React 16.3.2 and I really don't know what to do.
Is there any way for me to have multiple versions of React at once? So that each the various libraries dock different versions of react?
Another thing that makes me curious is that the project runs fine here locally, but in production, with npm run build, everything breaks, which makes compilation impossible.
I have already tried deleting the node_modules folder and my package-lock.json file to then install again npm install --force and npm install --legacy-peer-deps and as I told you, it works locally but in production everything breaks.
Here I attach my package.json file
https://gist.github.com/luisyuburi/6c5517b31cccef00f45fc8e12329f1f1