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

Undefined operation: times #110

Closed
obabichev opened this issue Jul 13, 2018 · 1 comment
Closed

Undefined operation: times #110

obabichev opened this issue Jul 13, 2018 · 1 comment

Comments

@obabichev
Copy link

obabichev commented Jul 13, 2018

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
Copy link
Owner

Igosuki commented May 22, 2022

Closing as stale

@Igosuki Igosuki closed this as completed May 22, 2022
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

2 participants