ali-react-table
ali-react-table copied to clipboard
npm install --force or --legacy-peer-deps
npm install ali-react-table 安装提示:
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" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^16.8.0 || ^17.0.1" from [email protected] npm ERR! node_modules/ali-react-table npm ERR! ali-react-table@"*" 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! npm ERR! For a full report see: npm ERR! C:\Users\admin\AppData\Local\npm-cache_logs\2023-11-27T06_40_32_509Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: C:\Users\admin\AppData\Local\npm-cache_logs\2023-11-27T06_40_32_509Z-debug-0.log
解决: npm install ali-react-table --legacy-peer-deps 可以解决的,但是有强迫症的看着难受
麻烦作者更新react依赖项目