redux-in-chinese icon indicating copy to clipboard operation
redux-in-chinese copied to clipboard

react更新成18了 官网默认命令npx create-react-app my-app --template redux不能安装了

Open fschenkun22 opened this issue 2 years ago • 0 comments

Installing template dependencies using npm... npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/react npm ERR! react@"^18.0.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^16.8.3 || ^17" from [email protected] npm ERR! node_modules/react-redux npm ERR! react-redux@"^7.2.3" 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.

fschenkun22 avatar Mar 31 '22 04:03 fschenkun22