Since upgrading the Adapt framework to 5.4.0, I've been unable to load any of my courses in the AAT.
Would appreciate any help for this.
Please see below for errors and output when trying to preview a new test course with vanilla theme in the AAT:
info [12 May 20 13:33:05 +00:00] configuration loaded from /home/squire/adapt_authoring/conf/config.json
info [12 May 20 13:33:05 +00:00] Supporting the following authentication types:
info [12 May 20 13:33:05 +00:00] - local
info [12 May 20 13:33:05 +00:00] Connection established: adapt-tenant-master
info [12 May 20 13:33:07 +00:00] Adapt authoring tool 0.10.3.
info [12 May 20 13:33:07 +00:00] Adapt framework 5.4.0.
info [12 May 20 13:33:07 +00:00] Server started listening on port 5000
info [12 May 20 13:34:47 +00:00] Retrieving JSON
info [12 May 20 13:34:47 +00:00] All theme assets processed
info [12 May 20 13:34:47 +00:00] All assets processed
info [12 May 20 13:34:47 +00:00] 3.1. Ensuring framework build exists
info [12 May 20 13:34:47 +00:00] 3.2. Using theme: 5d3b614faa03d12ad7ba36f3
info [12 May 20 13:34:47 +00:00] 3.3. Using menu: adapt-contrib-boxMenu
info [12 May 20 13:34:47 +00:00] grunt server-build:prod --outputdir=courses/5d3b60f6aa03d12ad7ba36d8/5ebaa3c99846211780c8c59e/build --theme=5d3b614faa03d12ad7ba36f3 --menu=adapt-contrib-boxMenu
error [12 May 20 13:34:50 +00:00] exec error: Error: Command failed: grunt server-build:prod --outputdir=courses/5d3b60f6aa03d12ad7ba36d8/5ebaa3c99846211780c8c59e/build --theme=5d3b614faa03d12ad7ba36f3 --menu=adapt-contrib-boxMenu
error [12 May 20 13:34:50 +00:00] stdout error: Running "server-build:prod" (server-build) task
Running "_log-vars" task
The following will be included in the build:
- adapt-contrib-boxMenu
- 5d3b614faa03d12ad7ba36f3
- adapt-contrib-text
>> Using source at 'src/'
>> Building to 'courses/5d3b60f6aa03d12ad7ba36d8/5ebaa3c99846211780c8c59e/build/'
>> Using theme '5d3b614faa03d12ad7ba36f3'
>> Using menu adapt-contrib-boxMenu'
Running "build-config" task
>> Plugin folder name 5d3b614faa03d12ad7ba36f3 does not match package name adapt-contrib-vanilla.
Running "copy:coreAssets" (copy) task
Running "copy:componentAssets" (copy) task
Running "copy:componentFonts" (copy) task
Running "copy:extensionAssets" (copy) task
Running "copy:extensionFonts" (copy) task
Running "copy:menuAssets" (copy) task
Running "copy:coreFonts" (copy) task
Copied 8 files
Running "copy:menuFonts" (copy) task
Running "copy:themeAssets" (copy) task
Running "copy:themeFonts" (copy) task
Running "copy:coreLibraries" (copy) task
Copied 19 files
Running "copy:libraries" (copy) task
Running "copy:coreRequired" (copy) task
Created 2 directories, copied 2 files
Running "copy:required" (copy) task
Running "less:compile" (less) task
Running "handlebars:compile" (handlebars) task
>> 1 file created.
Running "javascript:compile" (javascript) task
Running "babel:dist" (babel) task
Warning: Cannot find module 'fast-async' from '/home/squire/adapt_authoring/temp/5d3b60f6aa03d12ad7ba36d8/adapt_framework' Use --force to continue.
Aborted due to warnings.
Execution Time (2020-05-12 13:34:48 UTC-0)
loading tasks 50ms ▇ 2%
copy:componentAssets 45ms ▇ 2%
copy:componentFonts 43ms ▇ 2%
copy:extensionAssets 30ms ▇ 1%
copy:extensionFonts 25ms ▇ 1%
copy:coreFonts 30ms ▇ 1%
copy:libraries 74ms ▇▇ 4%
copy:required 68ms ▇▇ 3%
less:compile 775ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 39%
handlebars:compile 212ms ▇▇▇▇▇ 11%
javascript:compile 529ms ▇▇▇▇▇▇▇▇▇▇▇ 26%
loading grunt-babel 41ms ▇ 2%
Total 2s
error [12 May 20 13:34:50 +00:00] Command failed: grunt server-build:prod --outputdir=courses/5d3b60f6aa03d12ad7ba36d8/5ebaa3c99846211780c8c59e/build --theme=5d3b614faa03d12ad7ba36f3 --menu=adapt-contrib-boxMenu
error [12 May 20 13:34:50 +00:00] Command failed: grunt server-build:prod --outputdir=courses/5d3b60f6aa03d12ad7ba36d8/5ebaa3c99846211780c8c59e/build --theme=5d3b614faa03d12ad7ba36f3 --menu=adapt-contrib-boxMenu