ruby - gulp 運(yùn)行出現(xiàn)這個(gè)警告,求解!
問題描述
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:我的方法比較土,但權(quán)當(dāng)嘗試吧:
關(guān)掉所有cmd窗口,最好殺進(jìn)程。如果不會(huì),重啟電腦
執(zhí)行compass clean
再重試你的命令
回答2:謝邀, 基本沒有使用 windows,所以這個(gè)錯(cuò)誤沒有碰到過,不過看錯(cuò)誤,感覺像是 ruby的依賴問題,個(gè)人建議,你先確保自己的ruby環(huán)境沒有問題,因?yàn)閣indows ruby的安裝問題多種多樣。
終極大招-- 放棄掉 sass,其實(shí)你自己仔細(xì)的想一想,你的css 沒有必要非要用sass,可以用 less,stylus,或者 postcss來替換,不要人云亦云。。
回答3:Deprecation Warning 就是提示你有特性將要被棄用啦,找到它提示的行,按它說的改就好了
不改也不影響,反正是warning,代碼工作者從不careㄟ(▔ ,▔)ㄏ相關(guān)文章:
1. mysql - 是用火車頭采集器,采集后發(fā)布到數(shù)據(jù)庫,提示如下,求解!!!2. conf - 關(guān)于設(shè)置apache配置文件!求解!3. 關(guān)于layuiadmin中表格按鈕提交問題求解!!!!4. node.js - 用nodejs 的node-xlsx模塊去讀取excel出現(xiàn)找不到excel文件的錯(cuò)誤,可是文件的路徑?jīng)]錯(cuò)啊,求解!5. 自己安裝了apache2.2,但是重啟apache后出錯(cuò)了,求解!謝謝!6. node.js - 【nodejs】連接遠(yuǎn)程的mysql出錯(cuò),求解!!7. java - 更新到IntelliJ IDEA2017.1后,遇到問題,求解!8. 移動(dòng)端H5頁面開發(fā),碰到一個(gè)字體變大的BUG。大神們求解!
