7
這是除了此信息:Can't compile rwd skin SCSS in Magento CE 1.9「NoMethodError:未定義的方法`特異性」爲[:否(.block-層狀NAV)]:陣列」
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]
我去掉了「從:不是( 「按鈕」)>答:不(.button)
新的錯誤:
"NoMethodError: undefined method `specificity' for [:not(.block-layered-nav)]:Array";
註釋掉塊然後我得到:
"NoMethodError: undefined method `specificity' for [:not(:last-child)]:Array"
考慮到大多數人會直接安裝Compass而不是SASS,Compass的哪個版本與SASS 3.4.5相關? – pspahn 2014-10-20 20:47:27
@pspahn只要您使用的是Compass 1.0或更新版本,它應該與任何版本的Sass 3.3或更新版本兼容。所以如果你正在做一個新的Compass安裝,它將會獲得最新的Sass穩定版本。 – cimmanon 2014-10-20 20:55:20
@cimmanon謝謝 - 我只需要:'gem uninstall sass'然後'gem install sass -v 3.4.5'一切都好。 – pspahn 2014-10-20 21:54:01