Hi guys,
I am very new to Adapt and the Authoring tool.
From the documentation and videos I am really eager to try it out.
Unfortunately I get an error creating the preview or trying to download the build via the Webfrontend.
My machine configuration:
Ubuntu Linux 15.10 desktop 32 Bit (running in a Virtual Box environment)
MongoDB v2.6.10
NodeJS v4.2.4 (also tried it with v4.2.2 brings up the same error as described in the end)
grunt-cli v0.1.13
Adapt 2.0.2
Installing the Authroing tool, I followed the instructions on https://github.com/adaptlearning/adapt_authoring/wiki/Installing-Adapt-Origin
Everything seems to work so far.
I am abled to login, to create a course, to add components.
When I added just a basic text component to my article within my course and press the preview button it loads a while and shows an error in the frontend telling an error occured and I should contact my administrator.
On the server console it prints out the following messages and errors.
info: [07 Jan 2016 08:50:11 +01:00] 3.1. Ensuring framework build exists
info: [07 Jan 2016 08:50:11 +01:00] 3.2. Using theme: adapt-contrib-vanilla
info: [07 Jan 2016 08:50:11 +01:00] 3.3. Using menu: adapt-contrib-boxMenu
info: [07 Jan 2016 08:50:11 +01:00] grunt server-build:prod --outputdir=courses/568cd88988c4a0521bf3c44b/568e189cb98d28020839ce99/build --theme=adapt-contrib-vanilla --menu=adapt-contrib-boxMenu
error: [07 Jan 2016 08:51:06 +01:00] exec error: Error: Command failed: /bin/sh -c grunt server-build:prod --outputdir=courses/568cd88988c4a0521bf3c44b/568e189cb98d28020839ce99/build --theme=adapt-contrib-vanilla --menu=adapt-contrib-boxMenu
error: [07 Jan 2016 08:51:06 +01:00] stdout error: Running "server-build:prod" (server-build) task
Running "copy:index" (copy) task
Copied 1 file
Running "copy:courseAssets" (copy) task
Running "copy:courseJson" (copy) task
Running "copy:componentAssets" (copy) task
Copied 13 files
Running "copy:componentFonts" (copy) task
Running "copy:extensionAssets" (copy) task
Running "copy:extensionFonts" (copy) task
Running "copy:menuAssets" (copy) task
Running "copy:menuFonts" (copy) task
Running "copy:themeAssets" (copy) task
Copied 11 files
Running "copy:themeFonts" (copy) task
Copied 4 files
Running "copy:main" (copy) task
Copied 18 files
Running "concat:less" (concat) task
File src/less/adapt.less created.
Running "less:dist" (less) task
File courses/568cd88988c4a0521bf3c44b/568e189cb98d28020839ce99/build/adapt/css/adapt.css created: 128.43 kB → 108.11 kB
Running "handlebars:compile" (handlebars) task
>> 1 file created.
Running "bower:target" (bower) task
Updated RequireJS config with installed Bower components
Running "requirejs-bundle:components" (requirejs-bundle) task
Running "requirejs-bundle:extensions" (requirejs-bundle) task
Running "requirejs-bundle:menu" (requirejs-bundle) task
Running "requirejs-bundle:theme" (requirejs-bundle) task
Running "requirejs:compile" (requirejs) task
{ [Error: Error: Module loading did not complete for: core/js/app, coreJS/adapt, coreModels/lockingModel, backbone, coreJS/router, coreModels/routerModel, coreViews/pageView, coreViews/adaptView, coreViews/articleView, coreViews/blockView, coreJS/drawer, coreViews/drawerView, coreJS/device, coreJS/popupManager, coreJS/notify, coreViews/notifyView, coreViews/notifyPushView, coreModels/notifyModel, coreJS/accessibility, coreViews/accessibilityView, coreViews/navigationView, coreJS/adaptCollection, coreModels/configModel, coreModels/courseModel, coreModels/adaptModel, coreModels/contentObjectModel, coreModels/articleModel, coreModels/blockModel, coreModels/componentModel, coreJS/offlineStorage, components/components, components/adapt-contrib-accordion/js/adapt-contrib-accordion, coreViews/componentView, components/adapt-contrib-assessmentResults/js/adapt-contrib-assessmentResults, components/adapt-contrib-blank/js/adapt-contrib-blank, components/adapt-contrib-gmcq/js/adapt-contrib-gmcq, components/adapt-contrib-mcq/js/adapt-contrib-mcq, coreViews/questionView, coreViews/buttonsView, components/adapt-contrib-graphic/js/adapt-contrib-graphic, components/adapt-contrib-hotgraphic/js/adapt-contrib-hotgraphic, components/adapt-contrib-matching/js/adapt-contrib-matching, components/adapt-contrib-media/js/adapt-contrib-media, components/adapt-contrib-narrative/js/adapt-contrib-narrative, components/adapt-contrib-slider/js/adapt-contrib-slider, components/adapt-contrib-text/js/adapt-contrib-text, components/adapt-contrib-textInput/js/adapt-contrib-textInput, extensions/extensions, extensions/adapt-contrib-assessment/js/adapt-assessmentArticleExtension, extensions/adapt-contrib-assessment/js/adapt-assessmentArticleView, extensions/adapt-contrib-assessment/js/adapt-assessmentArticleModel, extensions/adapt-contrib-assessment/js/assessment, extensions/adapt-contrib-bookmarking/js/adapt-contrib-bookmarking, extensions/adapt-contrib-pageLevelProgress/js/adapt-contrib-pageLevelProgress, extensions/adapt-contrib-pageLevelProgress/js/PageLevelProgressMenuView, extensions/adapt-contrib-pageLevelProgress/js/PageLevelProgressNavigationView, extensions/adapt-contrib-pageLevelProgress/js/PageLevelProgressView, extensions/adapt-contrib-resources/js/adapt-contrib-resources, extensions/adapt-contrib-resources/js/adapt-contrib-resourcesView, extensions/adapt-contrib-spoor/js/adapt-contrib-spoor, extensions/adapt-contrib-spoor/js/adapt-stateful-session, extensions/adapt-contrib-spoor/js/serializers/default, extensions/adapt-contrib-spoor/js/serializers/questions, extensions/adapt-contrib-spoor/js/adapt-offlineStorage-scorm, extensions/adapt-contrib-trickle/js/adapt-contrib-trickle, extensions/adapt-contrib-trickle/js/Utility/Models, extensions/adapt-contrib-trickle/js/trickle-tutorPlugin, extensions/adapt-contrib-trickle/js/trickle-buttonPlugin, extensions/adapt-contrib-trickle/js/trickle-buttonView, extensions/adapt-contrib-trickle/js/trickle-buttonModel, extensions/adapt-contrib-tutor/js/adapt-contrib-tutor, menu/menu, menu/adapt-contrib-boxMenu/js/adapt-contrib-boxmenu, coreViews/menuView, theme/theme, theme/adapt-contrib-vanilla/js/vanilla, theme/adapt-contrib-vanilla/js/theme-block
The following modules share the same URL. This could be a misconfiguration if that URL only has one anonymous module in it:
/home/ubuntu32/Desktop/adapt_authoring/temp/568cd88988c4a0521bf3c44b/adapt_framework/src/core/js/libraries/backbone.js: backbone, backbone
at Function.build.checkForErrors (/home/ubuntu32/Desktop/adapt_authoring/temp/568cd88988c4a0521bf3c44b/adapt_framework/node_modules/grunt-contrib-requirejs/node_modules/requirejs/bin/r.js:31556:19)
]
originalError:
[Error: Module loading did not complete for: core/js/app, coreJS/adapt, coreModels/lockingModel, backbone, coreJS/router, coreModels/routerModel, coreViews/pageView, coreViews/adaptView, coreViews/articleView, coreViews/blockView, coreJS/drawer, coreViews/drawerView, coreJS/device, coreJS/popupManager, coreJS/notify, coreViews/notifyView, coreViews/notifyPushView, coreModels/notifyModel, coreJS/accessibility, coreViews/accessibilityView, coreViews/navigationView, coreJS/adaptCollection, coreModels/configModel, coreModels/courseModel, coreModels/adaptModel, coreModels/contentObjectModel, coreModels/articleModel, coreModels/blockModel, coreModels/componentModel, coreJS/offlineStorage, components/components, components/adapt-contrib-accordion/js/adapt-contrib-accordion, coreViews/componentView, components/adapt-contrib-assessmentResults/js/adapt-contrib-assessmentResults, components/adapt-contrib-blank/js/adapt-contrib-blank, components/adapt-contrib-gmcq/js/adapt-contrib-gmcq, components/adapt-contrib-mcq/js/adapt-contrib-mcq, coreViews/questionView, coreViews/buttonsView, components/adapt-contrib-graphic/js/adapt-contrib-graphic, components/adapt-contrib-hotgraphic/js/adapt-contrib-hotgraphic, components/adapt-contrib-matching/js/adapt-contrib-matching, components/adapt-contrib-media/js/adapt-contrib-media, components/adapt-contrib-narrative/js/adapt-contrib-narrative, components/adapt-contrib-slider/js/adapt-contrib-slider, components/adapt-contrib-text/js/adapt-contrib-text, components/adapt-contrib-textInput/js/adapt-contrib-textInput, extensions/extensions, extensions/adapt-contrib-assessment/js/adapt-assessmentArticleExtension, extensions/adapt-contrib-assessment/js/adapt-assessmentArticleView, extensions/adapt-contrib-assessment/js/adapt-assessmentArticleModel, extensions/adapt-contrib-assessment/js/assessment, extensions/adapt-contrib-bookmarking/js/adapt-contrib-bookmarking, extensions/adapt-contrib-pageLevelProgress/js/adapt-contrib-pageLevelProgress, extensions/adapt-contrib-pageLevelProgress/js/PageLevelProgressMenuView, extensions/adapt-contrib-pageLevelProgress/js/PageLevelProgressNavigationView, extensions/adapt-contrib-pageLevelProgress/js/PageLevelProgressView, extensions/adapt-contrib-resources/js/adapt-contrib-resources, extensions/adapt-contrib-resources/js/adapt-contrib-resourcesView, extensions/adapt-contrib-spoor/js/adapt-contrib-spoor, extensions/adapt-contrib-spoor/js/adapt-stateful-session, extensions/adapt-contrib-spoor/js/serializers/default, extensions/adapt-contrib-spoor/js/serializers/questions, extensions/adapt-contrib-spoor/js/adapt-offlineStorage-scorm, extensions/adapt-contrib-trickle/js/adapt-contrib-trickle, extensions/adapt-contrib-trickle/js/Utility/Models, extensions/adapt-contrib-trickle/js/trickle-tutorPlugin, extensions/adapt-contrib-trickle/js/trickle-buttonPlugin, extensions/adapt-contrib-trickle/js/trickle-buttonView, extensions/adapt-contrib-trickle/js/trickle-buttonModel, extensions/adapt-contrib-tutor/js/adapt-contrib-tutor, menu/menu, menu/adapt-contrib-boxMenu/js/adapt-contrib-boxmenu, coreViews/menuView, theme/theme, theme/adapt-contrib-vanilla/js/vanilla, theme/adapt-contrib-vanilla/js/theme-block
The following modules share the same URL. This could be a misconfiguration if that URL only has one anonymous module in it:
/home/ubuntu32/Desktop/adapt_authoring/temp/568cd88988c4a0521bf3c44b/adapt_framework/src/core/js/libraries/backbone.js: backbone, backbone] }
error: [07 Jan 2016 08:51:06 +01:00] Error: Command failed: /bin/sh -c grunt server-build:prod --outputdir=courses/568cd88988c4a0521bf3c44b/568e189cb98d28020839ce99/build --theme=adapt-contrib-vanilla --menu=adapt-contrib-boxMenu
error: [07 Jan 2016 08:51:06 +01:00] Error: Command failed: /bin/sh -c grunt server-build:prod --outputdir=courses/568cd88988c4a0521bf3c44b/568e189cb98d28020839ce99/build --theme=adapt-contrib-vanilla --menu=adapt-contrib-boxMenu
The strange thing is, sometimes it builds the preview and I can browse it. But most of the time the build fails with the error shown above.
Do you have any idea?
Thanks in advance.
Cheers, Bjoern