I got the below output when trying to install the latest version of webpack. To me, it reads that version 5.0.0 should be allowed since it is >=2 but am I reading it wrong?
Error:
npm ERR! Found: webpack@5.0.0-rc.6
npm ERR! node_modules/webpack
npm ERR! webpack@"5.0.0-rc.6" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer webpack@">=2" from babel-loader@8.1.0
Similarly:
npm ERR! Found: webpack@4.44.2
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer webpack@">=4.43.0 <6.0.0" from babel-loader@8.1.0