您的位置:首頁技術文章
文章詳情頁

ruby - gulp 運行出現這個警告,求解!

瀏覽:109日期:2024-08-08 15:14:08

問題描述

ruby - gulp 運行出現這個警告,求解!

DEPRECATION WARNING on line 87 of D:/Program Files/Ruby23-x64/lib/rub0/gems/compass-core-1.0.3/stylesheets/compass/css3/_deprecated-suppor interpolation near operators will be simplified version of Sass. To preserve the current behavior, use quotes:'$moz-'#{$experimental-support-for-mozilla} '$webkit-'#{$experimentalr-webkit} '$opera-'#{$experimental-support-for-opera} '$microsoft-'#{al-support-for-microsoft} '$khtml-'#{$experimental-support-for-khtml} the sass-convert command to automatically fix most cases.DEPRECATION WARNING on line 92 of D:/Program Files/Ruby23-x64/lib/rub0/gems/compass-core-1.0.3/stylesheets/compass/css3/_deprecated-suppor interpolation near operators will be simplified version of Sass. To preserve the current behavior, use quotes:'$ie6-'#{$legacy-support-for-ie6} '$ie7-'#{$legacy-support-for-ie7} 'gacy-support-for-ie8}’) the sass-convert command to automatically fix most cases.

問題解答

回答1:

我的方法比較土,但權當嘗試吧:

關掉所有cmd窗口,最好殺進程。如果不會,重啟電腦

執行compass clean

再重試你的命令

回答2:

謝邀, 基本沒有使用 windows,所以這個錯誤沒有碰到過,不過看錯誤,感覺像是 ruby的依賴問題,個人建議,你先確保自己的ruby環境沒有問題,因為windows ruby的安裝問題多種多樣。

終極大招-- 放棄掉 sass,其實你自己仔細的想一想,你的css 沒有必要非要用sass,可以用 less,stylus,或者 postcss來替換,不要人云亦云。。

回答3:

Deprecation Warning 就是提示你有特性將要被棄用啦,找到它提示的行,按它說的改就好了

不改也不影響,反正是warning,代碼工作者從不careㄟ(▔ ,▔)ㄏ
相關文章:
国产综合久久一区二区三区