Picture of Helen Bailey
Authoring Tool problem - "X is not found - is it installed and included?"
by Helen Bailey - Thursday, 5 May 2016, 10:10 AM
 

I have a new course, started since install of 0.1.7 and 2.0.9.

Whenever I add a new component and preview I get Loading wheel of death and the following in Dev tools :

adapt.min.js:60 Uncaught Error: mcq component not found. Is it installed and included?

or adapt.min.js:60 Uncaught Error: blank not found. Is it installed and included?

Anyone getting the same or know why it's happening?

Thanks

Helen

Picture of Helen Bailey
Re: Authoring Tool problem - "X is not found - is it installed and included?"
by Helen Bailey - Thursday, 5 May 2016, 10:46 AM
 

Started a brand new course. Did nothing but add an MCQ - still the same error.

Started again and built up - added text, fine, added graphic, fine, added a blank, works this time, but then added an MCQ - doesn't work.

 No extensions enabled, standard vanilla and box menu.

Picture of Helen Bailey
Re: Authoring Tool problem - "X is not found - is it installed and included?"
by Helen Bailey - Thursday, 5 May 2016, 10:53 AM
 

Ooh tried an MCQ and got a preview error. Discovered that there are lots of missing files in the following location including the js folder :

Fatal error: Error: ENOENT: no such file or directory, open 'C:\Adapt\adapt_authoring\temp\5614f85c4bd4be5018026e8f\adapt_framework\src\components\adapt-contrib
-mcq\js\adapt-contrib-mcq.js'
In module tree:
core/js/app
components/adapt-contrib-gmcq/js/adapt-contrib-gmcq
at Error (native)

Copied it over from the main framework folder and all is now working. 

Wondering if the build process is missing some files from some components sometimes?

 

Picture of Matt Leathes
Re: Authoring Tool problem - "X is not found - is it installed and included?"
by Matt Leathes - Thursday, 5 May 2016, 12:55 PM
 

I have a suspicion it might be to do with this: https://github.com/adaptlearning/adapt_framework/issues/1043

Picture of Tom Taylor
Re: Authoring Tool problem - "X is not found - is it installed and included?"
by Tom Taylor - Thursday, 2 June 2016, 11:48 AM
 

Just had a look in the bower.json, and the MCQ dependency (pluginDependencies) isn't listed here, so that should explain it.