Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Having node-sass build errors - invalid CSS  #3387

Description

@tanviropsec

having this error while trying to build in jenkins -

Compiling SASS: /var/lib/jenkins/workspace/ui-package/node_modules/.bin/node-sass --importer /var/lib/jenkins/workspace/ui-package/tools/sass-node-importer.js style.scss { "status": 1, "file": "/var/lib/jenkins/workspace/ui-package/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_variables.scss", "line": 369, "column": 46, "message": "Invalid CSS after "... floor(math": expected expression (e.g. 1px, bold), was ".div($grid-gutter-w"", "formatted": "Error: Invalid CSS after "... floor(math": expected expression (e.g. 1px, bold), was ".div($grid-gutter-w"\n on line 369 of ../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_variables.scss\n from line 2 of src/CompanyProfile/CompanyProfile.scss\n from line 7 of style.scss\n>> vbar-padding-horizontal: floor(math.div($grid-gutter-width, 2)) !defa\n ------------------------------------------^\n" }

node version: 10.24.1 node-sass version: ^4.9.1 bootstrap-sass version: ^3.3.7

  • NPM version (npm -v): 6.14.2
  • Node version (node -v): 10.24.1
  • Node Process (node -p process.versions):
  • { http_parser: '2.9.4',
    node: '10.24.1',
    v8: '6.8.275.32-node.59',
    uv: '1.34.2',
    zlib: '1.2.11',
    brotli: '1.0.7',
    ares: '1.15.0',
    modules: '64',
    nghttp2: '1.41.0',
    napi: '7',
    openssl: '1.1.1k',
    icu: '64.2',
    unicode: '12.1',
    cldr: '35.1',
    tz: '2019c' }
  • Node Platform (node -p process.platform): darwin
  • Node architecture (node -p process.arch): x64
  • node-sass version (node -p "require('node-sass').info"):
    node-sass 4.14.1 (Wrapper) [JavaScript]
    libsass 3.5.5 (Sass Compiler) [C/C++]
  • npm node-sass versions (npm ls node-sass):
    mm-ui-services@23.12.204 /Users/tmahboob/Documents/Projects/Leapfrog/ui_package
    ├── node-sass@4.14.1
    └─┬ rollup-plugin-scss@0.3.0
    └── node-sass@4.14.1 deduped

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions