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ㄟ(▔ ,▔)ㄏ相關文章:
1. mysql - 是用火車頭采集器,采集后發布到數據庫,提示如下,求解!!!2. 關于layuiadmin中表格按鈕提交問題求解!!!!3. conf - 關于設置apache配置文件!求解!4. node.js - 【nodejs】連接遠程的mysql出錯,求解!!5. node.js - 用nodejs 的node-xlsx模塊去讀取excel出現找不到excel文件的錯誤,可是文件的路徑沒錯啊,求解!6. java - 更新到IntelliJ IDEA2017.1后,遇到問題,求解!7. 移動端H5頁面開發,碰到一個字體變大的BUG。大神們求解!8. 自己安裝了apache2.2,但是重啟apache后出錯了,求解!謝謝!
