nhsuk/nhsuk-frontend

Error installing NHS.UK frontend using npm

nathandeflavis opened this issue · 1 comments

During a gulp pipeline to compile Sass files to CSS, the command-line reported errors from math.div(dividend, divisor) calls in the following files:

  • /packages/core/tools/functions.scss
  • /packages/core/tools/_typography.scss
  • /packages/core/utilities/_grid-widths.scss
  • /packages/core/vendors/sass-mq.scss

The errors are fixed by replacing math.div(dividend, divisor) calls with dividend / divisor expressions.