Reputation: 17
Whenever I try to bundle exec jekyll build/serve
I get the following error:
Conversion error: Jekyll::Converters::Scss encountered an error while converting 'css/main.scss':
Undefined variable: "$output-bourbon-deprecation-warnings". on line 20
jekyll 3.6.0 | Error: Undefined variable: "$output-bourbon-deprecation-warnings". on line 20
I'm not even sure where to look, because this variable doesn't appear in the css/main.scss file.
Code for the css/main.scss file:
---
# Only the main Sass file needs front matter (the dashes are enough)
---
@charset "utf-8";
@import "variables";
// TOOLS
@import "reset";
@import "normalize";
@import "bourbon/bourbon";
@import "neat/neat";
// GLOBAL
@import "base";
@import "layout";
// COMPONENTS
@import "header";
@import "footer";
@import "carousel";
@import "post-index";
// PAGE
@import "posts";
// CUSTOM
@import "custom";
I believe that the main use of it is for a prefixer. When I try to comment out bourbon entirely I get more errors. I've also tried removing and then reinstalling the gems.
Upvotes: 0
Views: 169
Reputation: 440
Depending on how correctly the original theme you're using was configured, this is likely due to the gemfile not being locked down tight enough to the point that it allowed breaking changes.
Add the following to your SCSS file:
$output-bourbon-deprecation-warnings: false;
This must be added before @import boutbon;
.
Upvotes: 0