Meteor语义用户界面无编译错误

Meteor语义用户界面无编译错误,meteor,semantic-ui,Meteor,Semantic Ui,我正在尝试使用官方的语义ui meteor软件包。我按照所有步骤生成文件夹,但出现以下错误: While building the application: client\lib\semantic-ui\theme.import.less:23:10: Less compiler error: expected ')' got 'o' 我检查了文件和它的这一行: @import (optional) "@{themesFolder}/@{site}/globals/site.

我正在尝试使用官方的语义ui meteor软件包。我按照所有步骤生成文件夹,但出现以下错误:

   While building the application:
   client\lib\semantic-ui\theme.import.less:23:10: Less compiler error:
   expected ')' got 'o'
我检查了文件和它的这一行:

@import (optional) "@{themesFolder}/@{site}/globals/site.variables";
我不确定是什么问题,但我认为是有关的(可选的)


如何修复此问题?

您应该尝试删除官方的Meteor less软件包并添加less autofixer Meteor软件包

meteor add flemay:less-autoprefixer

这是官方语义ui包的必要先决条件。

我的项目中有它,我非常抱歉建议使用官方的Meteor less包。显然,语义ui包需要更少的autoprefixer包,这与官方的Meteor-less包不兼容。查看我编辑的答案,了解如何安装它。