Sass Octobercms在编译器上出现引导程序5错误;应为列表,收到空:……。“;

Sass Octobercms在编译器上出现引导程序5错误;应为列表,收到空:……。“;,sass,octobercms,bootstrap-5,Sass,Octobercms,Bootstrap 5,我使用Octobercms和Bootstrap5Alpha2。我尝试使用内置octobercms编译器编译bootstrap 5 scss文件,如下所示: <link href="{ ['assets/vendor/bootstrap/scss/bootstrap.scss']|theme }}" rel="stylesheet"> 如果我禁用bootstrap 5 utilities/_api.scs,编译器工作正常,但我没有得到任何uti

我使用Octobercms和Bootstrap5Alpha2。我尝试使用内置octobercms编译器编译bootstrap 5 scss文件,如下所示:

<link href="{ ['assets/vendor/bootstrap/scss/bootstrap.scss']|theme }}" rel="stylesheet">

如果我禁用bootstrap 5 utilities/_api.scs,编译器工作正常,但我没有得到任何utilities类。

我遇到了同样的错误

这是由于主题捆绑了过时版本的SCSSPHP,这是引擎在引擎罩下将SCS编译为CSS的结果

您可以通过下载的最新版本、在主题中查找旧的嵌入版本并替换它来解决此问题

expecting list, null received: /.../.../.../themes/octobercms/assets/vendor/bootstrap/scss/mixins/_utilities.scss on line 8, at column 5 Call Stack: #0 mixin generate-utility /.../.../.../themes/octobercms/assets/vendor/bootstrap/scss/utilities/_api.scss on line 13 #1 function breakpoint-min.......