I am having one issue when I run build I am getting this error :
ERROR in ./src/sass/styles.scss (./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src!./node_modules/sass-loader/dist/cjs.js??ref--5-3!./src/sass/styles.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Dart Sass version 1.25.1-test.1 is incompatible with ^1.3.0.
at getSassImplementation (/Users/robinsmac/Desktop/OdinCode/Odin_ToDoList/node_modules/sass-loader/dist/getSassImplementation.js:40:13)
at Object.loader (/Users/robinsmac/Desktop/OdinCode/Odin_ToDoList/node_modules/sass-loader/dist/index.js:40:61)
Well, it basically what it says, sass dependency probably was outdated for sass loader, since the article is 2 years old!
But no worries, I updated all dependencies in the repository (including Webpack, it works now for the latest Webpack 5!), and fixed some typos and wording in the article. You can try to check out the repo and run the code again if you still need it :)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey Anton,
I am having one issue when I run build I am getting this error :
Any ideas why this is happening?
Hey Robin!
Well, it basically what it says, sass dependency probably was outdated for sass loader, since the article is 2 years old!
But no worries, I updated all dependencies in the repository (including Webpack, it works now for the latest Webpack 5!), and fixed some typos and wording in the article. You can try to check out the repo and run the code again if you still need it :)