I was trying to run a react project. React and Node version Installed:
- React: 18.1.0
- Node: 16.15.1
- Package manager: npm v 8.12.1
- OS: macOS Catalina 10.15.7
Any help in resolving the errors will be appreciated!
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: cbioportal-frontend@3.3.182
npm ERR! Found: webpack@5.55.1
npm ERR! node_modules/webpack
npm ERR! webpack@"^5.55.1" from the root project
npm ERR! peer webpack@"*" from bootstrap-loader@1.3.3
npm ERR! node_modules/bootstrap-loader
npm ERR! bootstrap-loader@"^1.2.0-beta.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer webpack@"^4.0.0" from css-loader@2.1.1
npm ERR! node_modules/css-loader
npm ERR! css-loader@"^2.1.1" from the root project
npm ERR! peer css-loader@"*" from bootstrap-loader@1.3.3
npm ERR! node_modules/bootstrap-loader
npm ERR! bootstrap-loader@"^1.2.0-beta.1" 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.```