Sass::Syntaxerror - Properties are only allowed Within Rules, Directives, mixin includes, or other properties

Asked

Viewed 34 times

-2

When trying to access the site, this error appears:

Properties are only allowed Within Rules, Directives, mixin includes, or other properties.

https://pastebin.com/LqMyVEM5 (Sass file code)

My environment is configured:

ruby 2.4.4

Rails 5.2

Sass 3.4.25 bootstrap 3

1 answer

0

Hello, Randson. It looks like there are some parts of Sass that are not formatted. Line 8446, for example, should be position: inherit, I imagine, but it’s like osition inherit.

8540 too, it’s like h: 40%. It seems to me that the problem is formatting your style file, try using some online linter or Validator to help find errors like this: http://beautifytools.com/sass-compiler.php

Browser other questions tagged

You are not signed in. Login or sign up in order to post.