2016-12-11 2 views
0

を構築:ブートストラップ-STYLのNPMモジュールは、流星アプリの際にスタイラスコンパイラエラーを与えるMeteor.jsビルダーで構築されたスタイラスコンパイラは私に次のエラーを与える

cannot perform $line-height-computed * 0.75 
    at ".table-responsive" 
    ({}/node_modules/bootstrap-styl/bootstrap/tables.styl:147:1) 

ビルド中のtables.stylファイルをコンパイルしようとしたときMeteorアプリに追加したbootstrap-styl npmモジュール。

何が問題なのでしょうか? 私が使用しています:

  • 流星1.4.2.3

  • OS Xエルキャピタンのブートストラップスタイラス3.3.7は、ブートストラップ-STYL

  • をインストール

    流星NPMをすることによって私のアプリに追加このモジュールの次のファイル:

    インポートボタンfrom '/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'

答えて

0

輸入注文の問題があるようです。

今私が持っている:

@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' 

コンパイルエラーがなくなっています。

関連する問題