I had the same problem today. Try installing sass-loader v10.0.5 instead:

npm install -D [email protected] node-sass
Answer from Alfredo L'huissier on Stack Overflow
🌐
npm
npmjs.com › package › sassjs-loader
sassjs-loader - npm
July 4, 2018 - A webpack loader for sass.js. Latest version: 2.0.0, last published: 8 years ago. Start using sassjs-loader in your project by running `npm i sassjs-loader`. There are 1 other projects in the npm registry using sassjs-loader.
      » npm install sassjs-loader
    
Published   Jul 04, 2018
Version   2.0.0
Author   Nick Heiner
🌐
npm
npmjs.com › package › sass-loader
sass-loader - npm
February 5, 2026 - Sass loader for webpack. Latest version: 16.0.7, last published: a month ago. Start using sass-loader in your project by running `npm i sass-loader`. There are 12108 other projects in the npm registry using sass-loader.
      » npm install sass-loader
    
Published   Feb 05, 2026
Version   16.0.7
Author   J. Tangelder
Discussions

node.js - npm install -D sass-loader node-sass Vue.js 2021 - Stack Overflow
Hi issue is setting up SASS for Vue.js I run: Node.js - 15.7.0 Vue.js - @vue/cli 4.5.11 This is an error in the console I am having while running this command: npm install -D sass-loader node-sass ... More on stackoverflow.com
🌐 stackoverflow.com
sass-loader is breaking old project (webpack issue?)
You need to replace sass-loader. It is not supported in webpack 5 I use postcss, with some plugins to get variable replacement and other behavior we used. I found a tutorial and examples for what was needed. More on reddit.com
🌐 r/reactjs
3
1
September 1, 2021
"Peer dep missing" when trying to install sass-loader using NPM

Running the below got it working:

npm install node-sass@3 --save-dev

Edit: Turns out this was fixed yesterday a few hours after I made the post. Doing "npm install node-sass --save-dev" works now. Related PR: https://github.com/jtangelder/sass-loader/pull/319

More on reddit.com
🌐 r/learnprogramming
1
1
May 21, 2013
It's 2018, why doesn't create-react-app support sass/scss by default?
It's ready & being included in the next release ( https://github.com/facebook/create-react-app/pull/4195 ) I think it was delayed due to sass-loader depending on node-sass, which is huge. This isn't the case anymore so they added it. (I wouldn't be surprised if I'm wrong/missing information though) Edit: Dan gives his reasoning for (previously) not including scss support here More on reddit.com
🌐 r/reactjs
26
18
June 19, 2018
🌐
npm
npmjs.com › search
sass-loader - npm search
sass · postcss · webpack · ... 7 years ago4 dependents licensed under $ISC · 8,953 · A liferay-npm-bundler loader that runs `sass` or `node-sass` on source files....
🌐
npm
npmjs.com › package › sass
sass - npm
3 days ago - You can install Sass globally using npm install -g sass which will provide access to the sass executable. You can also add it to your project using npm install --save-dev sass.
      » npm install sass
    
Published   Mar 10, 2026
Version   1.98.0
Author   Natalie Weizenbaum
🌐
Next.js
nextjs.org › docs › app › guides › sass
Guides: Sass | Next.js
2 weeks ago - You can use component-level Sass via CSS Modules and the .module.scssor .module.sass extension.
Find elsewhere
🌐
npm
npmjs.com › package › css-loader
css-loader - npm
1 month ago - css loader module for webpack. Latest version: 7.1.4, last published: 25 days ago. Start using css-loader in your project by running `npm i css-loader`. There are 17261 other projects in the npm registry using css-loader.
      » npm install css-loader
    
Published   Feb 16, 2026
Version   7.1.4
Author   Tobias Koppers @sokra
🌐
npm
npmjs.com › package › sass-resources-loader
sass-resources-loader - npm
April 15, 2022 - This loader will load your SASS resources into every required SASS module.
      » npm install sass-resources-loader
    
🌐
GitHub
github.com › webpack-contrib › sass-loader › blob › master › CHANGELOG.md
CHANGELOG.md - webpack/sass-loader
August 8, 2019 - Compiles Sass to CSS. Contribute to webpack/sass-loader development by creating an account on GitHub.
Author   webpack
🌐
Socket
socket.dev › npm › package › sass-multi-version-loader
sass-multi-version-loader - npm Package Security Analysis - ...
August 9, 2024 - Sass loader for webpack · latest ... downloads · Created · 2 years ago · README · Source · Compiles sass to css using non-node-sass and support webpack 2.x This loader can only use dart-sass as the compiler and it supports ...
🌐
SweetAlert2
sweetalert2.github.io
SweetAlert2
SweetAlert2 - a beautiful, responsive, customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes
🌐
Sass
sass-lang.com › install
Sass: Install Sass
If you use Node.js, you can also install Sass using npm by running
🌐
Xeol
xeol.io › explorer › package › npm › sass-loader
sass-loader - npm EOL Analysis | Xeol
The latest version of sass-loader was released on Sep 20, 2024, and it is not deprecated.
🌐
npm
npmjs.com › package › sass-loader-once
sass-loader-once - npm
December 2, 2015 - Sass loader once for webpack. Latest version: 0.0.2, last published: 10 years ago. Start using sass-loader-once in your project by running `npm i sass-loader-once`. There are 1 other projects in the npm registry using sass-loader-once.
      » npm install sass-loader-once
    
Published   Dec 02, 2015
Version   0.0.2
Author   zdzDesigner
🌐
webpack
webpack.docschina.org › loaders › sass-loader
sass-loader | webpack 中文文档 - 印记中文
首先,你需要安装 sass-loader: · npm install sass-loader sass webpack --save-dev · sass-loader 需要预先安装 Dart Sass 或 Node Sass(可以在这两个链接中找到更多的资料)。这可以控制所有依赖的版本, ...
🌐
Lacity
hpla.lacity.org › static › sass-loader › README.md
README.md
## Getting Started To begin, you'll need to install `sass-loader`: ```console npm install sass-loader sass webpack --save-dev ``` or ```console yarn add -D sass-loader sass webpack ``` or ```console pnpm add -D sass-loader sass webpack ``` `sass-loader` requires you to install either [Dart ...