@RobinB

Почему не компилируется SASS?

Вот мой файл config.rb:

# Require any additional compass plugins here.
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "css"
sass_dir = "sass"
images_dir = "img"
javascripts_dir = "js"
# You can select your preferred output style here (can be overridden via the command line):
output_style = :compressed

# To enable relative paths to assets via compass helper functions. Uncomment:
# relative_assets = true
# To disable debugging comments that display the original location of your selectors. Uncomment:
line_comments = false
# If you prefer the indented syntax, you might want to regenerate this
# project again passing --syntax sass, or you can uncomment this:
preferred_syntax = :scss
# and then run:
# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass


Вот файл main.scss:

/* ==========================================================================
   normalize.scss
   ========================================================================== */
@import "../js/vendor/normalize.scss/_normalize.scss";


Работаю из под windows установлен ruby, sass, compass. Компилирую в sublime через Build и выдает вот такую ошибку:

D:/projects/clientbridge/sass/main.scss:3: target of repeat operator is not specified: /* ==========================================================================
   normalize.scss
   ========================================================================== */
D:/projects/clientbridge/sass/main.scss:4: syntax error, unexpected tSTRING_BEG, expecting end-of-input
@import "../js/vendor/normalize.scss/_normalize.scss";
         ^
[Finished in 0.1s]


Почему так может быть? Как можно пофиксить?
  • Вопрос задан
  • 680 просмотров
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы