Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Fix the upstream dependency conflict, or retry this command with --force, or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.

'--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
 
PREVIOUS NEXT
Tagged: #Fix #upstream #dependency #retry #command #accept #incorrect #potentially #dependency
ADD COMMENT
Topic
Name
8+2 =