ruby - gulp 运行出现这个警告,求解!

 承志68694849 发布于 2022-10-26 13:51

DEPRECATION WARNING on line 87 of D:/Program Files/Ruby23-x64/lib/rub
0/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-"#{$experimental
r-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/rub
0/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.
3 个回答
  • Deprecation Warning 就是提示你有特性将要被弃用啦,找到它提示的行,按它说的改就好了

    不改也不影响,反正是warning,代码工作者从不careㄟ(▔ ,▔)ㄏ

    2022-10-27 01:05 回答
  • 谢邀, 基本没有使用 windows,所以这个错误没有碰到过,不过看错误,感觉像是 ruby的依赖问题,个人建议,你先确保自己的ruby环境没有问题,因为windows ruby的安装问题多种多样。

    终极大招-- 放弃掉 sass,其实你自己仔细的想一想,你的css 没有必要非要用sass,可以用 less,stylus,或者 postcss来替换,不要人云亦云。。

    2022-10-27 01:05 回答
  • 我的方法比较土,但权当尝试吧:

    1. 关掉所有cmd窗口,最好杀进程。如果不会,重启电脑

    2. 执行compass clean

    3. 再重试你的命令

    2022-10-27 01:05 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有