Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sass-loader not compatible with webpack version #293

Open
abbrechen opened this issue Apr 27, 2021 · 0 comments
Open

Sass-loader not compatible with webpack version #293

abbrechen opened this issue Apr 27, 2021 · 0 comments

Comments

@abbrechen
Copy link

Hi,

I have tried to install the sass-loader for my skpm project but I get the feedback that sass-loader@11.0.1 is conflicting with webpack@5.36.0. I see no hint why both versions shouldn't be compatible but I can't manually change the webpack version. Or would skpm use my webpack when I include it in my package.json?
skpm is up to date.

Full error message

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! Found: webpack@3.12.0
npm ERR! node_modules/webpack
npm ERR!   webpack@"^3.0.0" from @skpm/builder@0.1.7
npm ERR!   node_modules/@skpm/builder
npm ERR!     dev @skpm/builder@"^0.1.3" from the root project
npm ERR!   peer webpack@"^2.0.0 || ^3.0.0" from @skpm/file-loader@1.1.5
npm ERR!   node_modules/@skpm/file-loader
npm ERR!     @skpm/file-loader@"^1.0.0" from @skpm/builder@0.1.7
npm ERR!     node_modules/@skpm/builder
npm ERR!       dev @skpm/builder@"^0.1.3" from the root project
npm ERR!   4 more (babel-loader, file-loader, less-loader, uglifyjs-webpack-plugin)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! dev sass-loader@"*" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: webpack@5.36.0
npm ERR! node_modules/webpack
npm ERR!   peer webpack@"^5.0.0" from sass-loader@11.0.1
npm ERR!   node_modules/sass-loader
npm ERR!     dev sass-loader@"*" 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.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant