← Back to team overview

mahara-contributors team mailing list archive

[Bug 1723047] [NEW] New Subtheme // SASS // File to import not found or unreadable

 

Public bug reported:

When compiling sass for a new subtheme you will get this error:

File to import not found or unreadable: ../../../lib/bootstrap/assets/stylesheets/bootstrap/mixins
Parent style sheet: 
_bootstrap-index.scss

1: 
2: @import "../../../lib/bootstrap/assets/stylesheets/bootstrap/mixins";3: 

C:/../../mahara/htdocs/theme/raw/sass/utilities/_bootstrap-index.scss


Solution:

All pathes has to be one directory further up.

e.g.

@import "../../../lib/bootstrap/assets/stylesheets/bootstrap/mixins";

has to be be

@import "../../../../lib/bootstrap/assets/stylesheets/bootstrap/mixins";

** Affects: mahara
     Importance: Undecided
         Status: New


** Tags: sass theming

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1723047

Title:
  New Subtheme // SASS // File to import not found or unreadable

Status in Mahara:
  New

Bug description:
  When compiling sass for a new subtheme you will get this error:

  File to import not found or unreadable: ../../../lib/bootstrap/assets/stylesheets/bootstrap/mixins
  Parent style sheet: 
  _bootstrap-index.scss

  1: 
  2: @import "../../../lib/bootstrap/assets/stylesheets/bootstrap/mixins";3: 

  C:/../../mahara/htdocs/theme/raw/sass/utilities/_bootstrap-index.scss

  
  Solution:

  All pathes has to be one directory further up.

  e.g.

  @import "../../../lib/bootstrap/assets/stylesheets/bootstrap/mixins";

  has to be be

  @import
  "../../../../lib/bootstrap/assets/stylesheets/bootstrap/mixins";

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1723047/+subscriptions


Follow ups