Home  >  Q&A  >  body text

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

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.
大家讲道理大家讲道理2709 days ago678

reply all(3)I'll reply

  • 仅有的幸福

    仅有的幸福2017-04-25 09:03:37

    My method is relatively crude, but you should try it:

    1. Close all cmdwindows and preferably kill the process. If not, restart your computer

    2. Executioncompass clean

    3. Retry your command

    reply
    0
  • 滿天的星座

    滿天的星座2017-04-25 09:03:37

    Thanks for the invitation. I have never used Windows, so I have never encountered this error. However, looking at the error, it seems that it is a Ruby dependency problem. My personal suggestion is that you first make sure that your Ruby environment has no problems, because there are many problems with the installation of Windows Ruby. Diverse.

    The ultimate trick - give up sass. In fact, think about it carefully. There is no need to use sass for your css. You can replace it with less, stylus, or postcss. Don't follow what others say. .

    reply
    0
  • PHP中文网

    PHP中文网2017-04-25 09:03:37

    Deprecation Warning is to remind you that a feature will be deprecated. Find the line it prompts and change it as it says

    It won’t be affected if you don’t change it, it’s a warning anyway, code workers never careㄟ(▔,▔)ㄏ

    reply
    0
  • Cancelreply