Fix The Upstream Dependency Conflict Or Retry This Command With

[Solved] Fix The Upstream Dependency Conflict Or Retry This Command With | Shell - Code Explorer | yomemimo.com
Question : Fix the upstream dependency conflict, or retry this command with --force, or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.

Answered by : emeka-orji

'--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

Source : | Last Update : Sun, 13 Mar 22

Answers related to fix the upstream dependency conflict or retry this command with force or legacy peer deps to accept an incorrect and potentially broken dependency resolution

Code Explorer Popular Question For Shell