" NoMethodError:未定义的方法`特异性' for [:not(.block-layered-nav)]:Array"

时间:2014-10-17 19:14:22

标签: magento sass compass-sass

这是此帖的补充:Can't compile rwd skin SCSS in Magento CE 1.9

Windows 8.1 / PowerShell
Compass 1.0.1 (Polaris)
Sass 3.4.6 (Selective Steve)
ruby 2.1.3p242 (2014-09-19 revision 47630) [x64-mingw32]

我删除了“from a:not(”。button“)> a:not(.button)

新错误:

"NoMethodError: undefined method `specificity' for [:not(.block-layered-nav)]:Array";

然后我看到了块:

"NoMethodError: undefined method `specificity' for [:not(:last-child)]:Array"

1 个答案:

答案 0 :(得分:15)

这似乎是known issue with Sass 3.4.6。在修复此问题之前,您需要降级到3.4.5。