avatar
Unable to export course
by Sam Howell - Thursday, 5 December 2019, 5:34 AM
 

I'm trying to export my course from the Adapt authoring tool (I'm running latest versions of AAT and FW). I keep getting the following, something about an undefined colour.

Could someone please explain:

  • How this colour is undefined
  • How I can fix it or come up with a workaround in order to export course

Debug:

Command failed: grunt server-build:prod --outputdir=courses/5d3b60f6aa03d12ad7ba36d8/5de3f33be34cf56e78f4f6fa/build --theme=5d3b614faa03d12ad7ba36f3 --menu=adapt-contrib-boxMenu

Fatal error: {
 "message": "variable @primary-color-inverted is undefined",
 "type": "Name",
 "filename": "src/components/adapt-flipper/less/flipper.less",
 "index": 1084,
 "line": 52,
 "column": 14,
 "callLine": null,
 "extract": [
  "\t\twidth: 100%;",
  "\t\tbackground: @primary-color-inverted;",
  "\t\t-webkit-box-shadow: 0 10px 15px rgba(0,0,0,0.5);"
 ]
}

Picture of Ignacio Cinalli
Re: Unable to export course
by Ignacio Cinalli - Thursday, 5 December 2019, 2:10 PM
 

Hi Sam, try to add the variable @primary-color-inverted in the additional CSS/LESS box in Project Settings.

@primary-color-inverted: #cccccc;

avatar
Re: Unable to export course
by Sam Howell - Thursday, 5 December 2019, 3:35 PM
 

Thanks for the tip!