Open machristie opened 2 years ago
In a fresh clone I'm getting a conflicting peer dependency when running npm install.
npm install
I was able to work around it by running npm install --legacy-peer-deps, see https://stackoverflow.com/questions/69259024/how-to-handle-conflicting-peer-dependencies.
npm install --legacy-peer-deps
[pga@scigap-develop-web1 airavata-django-portal]$ node --version v16.13.1 [pga@scigap-develop-web1 airavata-django-portal]$ npm --version 8.1.2
npm ERR! While resolving: hello-world@0.1.0 npm ERR! Found: sass-loader@7.1.0 npm ERR! node_modules/sass-loader npm ERR! dev sass-loader@"^10" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! dev sass-loader@"^10" from the root project npm ERR! npm ERR! Conflicting peer dependency: webpack@5.72.0 npm ERR! node_modules/webpack npm ERR! peer webpack@"^4.36.0 || ^5.0.0" from sass-loader@10.2.1 npm ERR! node_modules/sass-loader npm ERR! dev sass-loader@"^10" from the root project
In a fresh clone I'm getting a conflicting peer dependency when running
npm install
.I was able to work around it by running
npm install --legacy-peer-deps
, see https://stackoverflow.com/questions/69259024/how-to-handle-conflicting-peer-dependencies.