thoughtbot / bourbon

A Lightweight Sass Tool Set
https://www.bourbon.io/
MIT License
9.09k stars 878 forks source link

jekyll/SCSS conversion error: undefined variable #1050

Closed caityp closed 6 years ago

caityp commented 6 years ago

Description

I am trying to build a site with the centrarium theme by running $ bundle exec jekyll serve and getting the following conversion error:

Conversion error: Jekyll::Converters::Scss encountered an error while converting 'css/main.scss': Undefined variable: "$md-break-point". on line 65 jekyll 3.6.2 | Error: Undefined variable: "$md-break-point". on line 65

The problem is, I can't find the $md-break-point variable in any of my .scss files and don't know what line 65 is referring to.

The main.scss file looks like this:

@charset "utf-8";

// Import partials from sass_dir (defaults to _sass) // Includes Bourbon, Neat, and Bitters (thanks, thoughtbot!)

@import "bourbon/bourbon", "base/base", "neat/neat", "layout" ;

Development Environment

bourbon 5.0.0 bitters 1.8.0 neat 2.1.0

running jekyll 3.6.2 on Windows 10 and trying to keep compatible with GitHub Pages

I'm new to sass/css with jekyll - any thoughts would help! Thanks. repo: https://github.com/caityp/caityp.github.io

tysongach commented 6 years ago

Hi @caityp!

This appears to be an issue with the theme, Jekyll, or tweaks to the theme (maybe a combo of these things!). $md-break-point is not a variable that's part of Bourbon, Neat or Bitters. Looks like you've already filed an issue over on the theme's repo, which is probably a better suited place for getting the right answer!