Igosuki / compass-mixins

A collection of compass' stylesheet for bower dependencies and libsass
Other
592 stars 197 forks source link

Undefined operation: times #110

Closed obabichev closed 2 years ago

obabichev commented 6 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

Igosuki commented 2 years ago

Closing as stale