Picture of Zbigniew Misiak
Error compiling src/less/adapt.less
by Zbigniew Misiak - Sunday, 5 October 2014, 4:36 PM
 

Hi,

I have installed Adapt on Ubuntu 14.04 64bit (running from VirtualBox).

After running the "grunt build" command I get the following warning causing the course creation failure:

Running "less:dist" (less) task
>> NameError: variable @ie8-max-width is undefined in src/less/adapt.less on line 83, column 19:
>> 82     .ie8 & {
>> 83         max-width:@ie8-max-width;
>> 84     }
Warning: Error compiling src/less/adapt.less Use --force to continue.

Aborted due to warnings.

Tried also the "--force", but it also fails with ENOENT error (screenshot attached)

Any hints how to get past this problem would be appreciated.

Best regards,

Zbigniew



Picture of Daryl Hedley
Re: Error compiling src/less/adapt.less
by Daryl Hedley - Monday, 6 October 2014, 7:10 AM
 

Hey Zbigniew,

This looks as though you haven't run:

$ adapt install

This should be ran before:

$ grunt build

Make sure you run this on the folder containing adapt.

Thanks,

Daryl

Picture of Zbigniew Misiak
Re: Error compiling src/less/adapt.less
by Zbigniew Misiak - Monday, 6 October 2014, 8:57 PM
 

Thanks a lot Daryl!

running $ adapt install solved the problem.

I was following the steps from:

https://github.com/adaptlearning/adapt_framework/wiki/Setting-up-your-development-environment

and this command was not there.

Best regards,

 

Zbigniew

 

Picture of Chris Jones
Re: Error compiling src/less/adapt.less
by Chris Jones - Tuesday, 7 October 2014, 8:15 AM
 

Hi Zbigniew,

Glad you are up and running. For future reference or if anyone encounters similar issues, the steps Daryl talked you through are outlined in the manual installation section on the Adapt framework wiki.

Best regards,

Chris