Napraw konflikt zależności upstream lub ponowne to polecenie-Force, OR-LEGACY-PEER-DEPS, aby zaakceptować nieprawidłową (i potencjalnie złamaną) rozdzielczość zależności.

'--legacy-peer-deps' is what fixed this for me

# Place it after the keyword install like this:
npm install '--legacy-peer-deps' -S <whatever package>
# -S is the same as --save
# i.e
npm install '--legacy-peer-deps' --save react-useanimations
Code Rabbi