reverie icon indicating copy to clipboard operation
reverie copied to clipboard

Deprecation Warning when running compass

Open cywtf opened this issue 10 years ago • 2 comments

Hi,

I have this warning while running "compass watch" I have the latest version of compass, and althought the warning is not stopping the development, its pretty much annoying.

I dont clearly understand the instructions how to remove it. Could somebody explain?

DEPRECATION WARNING on line 1, column 7 of C:/Ruby21/lib/ruby/gems/2.1.0/gems/compass-core-1.0.1/stylesheets/comp 3/_shared.scss: Unescaped multiline strings are deprecated and will be removed in a future version of Sass. To include a newline in a string, use "\a" or "\a " as in CSS.

WARNING: The compass/css3/shared module has been deprecated. You can silence this warning by importing compass/css3/deprecated-support instead. Please be aware that module will be removed in the next release. on line 1 of C:/Ruby21/lib/ruby/gems/2.1.0/gems/compass-core-1.0.1/stylesheets/compass/css3/_shared.scss from line 19 of C:/[userfolder]/www/wordpress/wp-content/themes/reverie/scss/style.scss

cywtf avatar Sep 30 '14 12:09 cywtf

Same here. (Sorry, I don't have a solution)

GarySwift avatar Sep 11 '15 10:09 GarySwift

The solution is exactly as mentioned in the error message. Silence the message by changing line 19 to

// Load some Compass magic, note you will need to install Compass first @import "compass/css3/deprecated-support";

Unfortunately, that only does what it says it does - silence the error message. The root problem is that if you're getting this error message you're using a recent version of Compass and Sass (1.0.1 and 3.4/5) and Zurb Foundation won't compile with those. So you have to back out your install to Compass 0.12 and Sass 3.2 or try one of the other solutions

See this explanation https://github.com/bdkjones/CodeKit/issues/443#issuecomment-57119675

See also http://foundation.zurb.com/forum/posts/18624-foundation-5-and-compass-10

Workarounds https://github.com/zurb/foundation/pull/5632

ergophobe avatar Oct 02 '15 02:10 ergophobe