构建在Meteor.js Builder中的手写笔编译器给我以下错误:
cannot perform $line-height-computed * 0.75
at ".table-responsive"
({}/node_modules/bootstrap-styl/bootstrap/tables.styl:147:1)
在构建期间,我在尝试编译我在Meteor应用中添加的bootstrap-styl
NPM模块的tables.styl
文件。
知道问题可能是什么?我正在使用:
- 流星1.4.2.3在OS X El Capitan上
Bootstrap手写笔3.3.7通过执行
添加到我的应用流星NPM安装Bootstrap-Styl
和以下来自此模块的文件:
从'/node_modules/bootstrap-styl/js/button.js'
导入按钮@import'{}/node_modules/bootstrap-styl/bootstrap/tables.styl'
@import'{}/node_modules/bootstrap-styl/bootstrap/mixins/table-row.styl'
@import'{}/node_modules/bootstrap-styl/bootstrap/buttons.styl'
@import'{}/node_modules/bootstrap-styl/bootstrap/mixins/table-row.styl'
这似乎是进口订单问题。
现在我有:
@import '{}/node_modules/bootstrap-styl/bootstrap/variables'
@import '{}/node_modules/bootstrap-styl/bootstrap/mixins/table-row'
@import '{}/node_modules/bootstrap-styl/bootstrap/tables'
@import '{}/node_modules/bootstrap-styl/bootstrap/mixins/buttons'
@import '{}/node_modules/bootstrap-styl/bootstrap/buttons'
编译错误已经消失了。