BOOTSTRAP 4 => Error: Undefined operation: "null lt 9"

BOOTSTRAP 4 => Error: Undefined operation: "null lt 9"

我在 bootstrap 4.0.0-beta 中尝试扩展 bootstrap 网格断点时遇到错误。
注意:只要我用了bootstrap 4.0.0-alpha.6就没有这个错误,并且bootstrap网格断点创建成功。

以下是文件的部分代码:

node_modules/bootstrap/scss/_custom.scss

这是同样的问题并已解决,但对我没有帮助:https://github.com/twbs/bootstrap/issues/20833

如何解决这个错误?

我找到了问题的根源。事实上,在文件 /node_modules/bootstrap/scss/_tables.scss 中,函数调用带有对参数的硬绑定,我们在通过 /node_modules/bootstrap/scss/_custom.scss 自定义文件 /node_modules/bootstrap/scss/_variables.scss 时重新记录了该参数。修复它所需要做的就是在函数的参数中进行相对绑定,或者简单地更改参数 "In my case from md to m"

我也在这里对开发者说:https://github.com/twbs/bootstrap/issues/20833