Build error in 6.0.x-dev@dev'

Created on 7 June 2024, 5 months ago
Updated 4 July 2024, 4 months ago

Problem/Motivation

Error occurs when trying to build newly-created subtheme

Steps to reproduce

Following the Quick Start for Drupal 10.1+ documentation from https://www.drupal.org/project/radix (and using dev branch as described). When trying to run npm run watch or npm run production, the error occurs:

ERROR in ./src/scss/main.style.scss
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
expected more input.
   ╷
16 │ /**
   │    ^
   ╵
  src/scss/base/_variables.scss 16:4  @import
  src/scss/_init.scss 4:9             @import
  src/scss/main.style.scss 3:9        root stylesheet

Proposed resolution

The closing block comment tag on line 16 of src/kits/radix_starterkit/src/scss/base/_variables.scss should be */ as it currently shows another opening tag.

Remaining tasks

Replace closing comment tag as above.

User interface changes

N/A

API changes

N/A

Data model changes

N/A

🐛 Bug report
Status

Fixed

Version

6.0

Component

Code

Created by

🇬🇧United Kingdom surreymagpie

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024