reduxのインストールについて、npm install reduxのコマンドで
reduxをインストールしようとすると、下記のようなエラーが出てしまい、
インストールできず困っています。
もしこのようなエラーに遭遇された方、もしくは解決法をご存じの方がいらっしゃいましたらご教授いただけますと幸いです。
npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: connected-react-router@6.9.2 npm ERR! Found: history@5.3.0 npm ERR! node_modules/history npm ERR! history@"^5.3.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer history@"^4.7.2" from connected-react-router@6.9.2 npm ERR! node_modules/connected-react-router npm ERR! connected-react-router@"^6.9.2" from the root project npm ERR! npm ERR! Conflicting peer dependency: history@4.10.1 npm ERR! node_modules/history npm ERR! peer history@"^4.7.2" from connected-react-router@6.9.2 npm ERR! node_modules/connected-react-router npm ERR! connected-react-router@"^6.9.2" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! See C:\Users\Owner\AppData\Local\npm-cache\eresolve-report.txt for a full report. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Owner\AppData\Local\npm-cache\_logs\2022-06-29T05_07_00_294Z-debug-0.log
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。