twbs / twbs/bootstrap-rubygem

Sass::SyntaxError Undefined mixin 'make-xs-column'.

Open
#151 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
SCSS
Stars
2k
Forks
437
Avg merge
1h
Merged PRs (30d)
1

Description

Hi,

I'm trying to upgrading from bootstrap-sass to bootstrap (bootstrap-sass do not allow v4 features)
I keep aside all errors I had due to sass conflicts (major with rails_admin)

So as I speak my project is stuck due to Sass::SyntaxError Undefined mixin 'make-xs-column' despite I had mixins to my sass file

here is a piece of my application.scss file:
@import "bootstrap/functions";
@import "bootstrap/variables";
@import "bootstrap/mixins";
@import 'bootstrap-datepicker';
@import 'bootstrap';//added as last as it's recommended on readme

I use these gems
gem 'bootstrap', '~> 4.1.0'
gem 'jquery-rails'
and my rails version is 2.3.1p112

Did someone has a solution to fix this error?

Thanks

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with application.scss and the listed Bootstrap imports, then inspect the Bootstrap 4 mixins and the bootstrap-datepicker import while reproducing the Sass compilation error. Compare the referenced make-xs-column mixin with the installed Bootstrap version and its migration guidance; done means the stylesheet compiles without the undefined-mixin error.

Written by the indexing model from the issue text.

Assessment

Tech stack
bootstrap, rails, scss
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.