Closed obabichev closed 2 years ago
Hallo,
I have a problem with undefined operation:
ERROR in ./~/css-loader!./~/sass-loader/lib/loader.js?{"outputStyle":"expanded","includePaths":["/home/obabichev/www/project/~/compass-mixins/lib"]}!./scss/project/default.scss Module build failed: @return 0.2126 $R + 0.7152 $G + 0.0722 * $B; ^ Undefined operation: "0.2126 times pow(1, 2.4)". in /home/obabichev/www/project/scss/misc/mixins/_colorFunctions.scss (line 20, column 14) @ ./scss/project/default.scss 2:14-135
I looked through compass-mixins and node-sass and if I am right this is problem of old versions of node-sass and it was fixed in version 4.8.0 of node-sass,
Please, is it possible to fix it in compass-mixins too or to explain what can I do wrong.
My webpack settings:
{ test: /\.scss$/, use: [ { loader: 'style-loader' }, { loader: 'css-loader' }, { loader: 'sass-loader', options: { outputStyle: 'expanded', includePaths: [ path.resolve(__dirname, './node_modules/compass-mixins/lib') ] } } ] }
node version : v4.8.4
Best regards, Babichev Oleg
Closing as stale
Hallo,
I have a problem with undefined operation:
I looked through compass-mixins and node-sass and if I am right this is problem of old versions of node-sass and it was fixed in version 4.8.0 of node-sass,
Please, is it possible to fix it in compass-mixins too or to explain what can I do wrong.
My webpack settings:
node version : v4.8.4
Best regards, Babichev Oleg