good day all,
my Adapt Authoring tool has been functioning optimally for some time now. i did recently delete the node modules in the framework folder and run an npm install. Subsequent to that i have been having an issue with the Spoor (2.0.10) and resources (2.0.5) plugins, if i add anyone of these or both to a course i get an error in the AT saying that the preview could not be generated and that i should contact the admin...
The CMD error is as follows:
C:\adapt_authoring>node server
info: [18 May 2017 06:01:57 +02:00] configuration loaded from C:\adapt_authoring
\conf\config.json
info: [18 May 2017 06:01:58 +02:00] Supporting the following authentication type
s:
info: [18 May 2017 06:01:58 +02:00] - local
info: [18 May 2017 06:02:02 +02:00] You are currently running Adapt authoring to
ol v0.2.2 - v0.3.0 is now available
info: [18 May 2017 06:02:02 +02:00] The Adapt Framework being used is v2.0.7 - v
2.0.19 is now available
info: [18 May 2017 06:02:02 +02:00] Run "node upgrade.js" to update to the lates
t version
info: [18 May 2017 06:02:03 +02:00] Connection established: adapt-tenant-master
info: [18 May 2017 06:02:05 +02:00] Server started listening on port 5000
info: [18 May 2017 06:02:19 +02:00] Connection established: adapt-tenant-master
info: [18 May 2017 06:02:29 +02:00] Retrieving JSON
info: [18 May 2017 06:02:29 +02:00] All assets processed
info: [18 May 2017 06:02:29 +02:00] 3.1. Ensuring framework build exists
info: [18 May 2017 06:02:29 +02:00] 3.2. Using theme: adapt-contrib-vanilla
info: [18 May 2017 06:02:29 +02:00] 3.3. Using menu: adapt-contrib-boxMenu
info: [18 May 2017 06:02:29 +02:00] grunt server-build:prod --outputdir=courses\
577a556f234ca0ec3cae87f1\591d1854efd4d39c1a1e0977\build --theme=adapt-contrib-va
nilla --menu=adapt-contrib-boxMenu
error: [18 May 2017 06:02:40 +02:00] exec error: Error: Command failed: C:\Windo
ws\system32\cmd.exe /s /c "grunt server-build:prod --outputdir=courses\577a556f2
34ca0ec3cae87f1\591d1854efd4d39c1a1e0977\build --theme=adapt-contrib-vanilla --m
enu=adapt-contrib-boxMenu"
error: [18 May 2017 06:02:40 +02:00] stdout error: Running "server-build:prod" (
server-build) task
Running "_log-vars" task
The following will be included in the build:
- adapt-contrib-vanilla
- adapt-contrib-boxMenu
- adapt-contrib-spoor
- adapt-contrib-text
>> Using source at "C:\adapt_authoring\temp\adapt_framework\src\"
>> Building to "courses\577a556f234ca0ec3cae87f1\591d1854efd4d39c1a1e0977\build\
"
>> Using theme "adapt-contrib-vanilla"
>> Using menu "adapt-contrib-boxMenu"
Running "copy:index" (copy) task
Copied 1 file
Running "copy:courseAssets" (copy) task
Running "copy:courseJson" (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:menuFonts" (copy) task
Running "copy:themeAssets" (copy) task
Created 1 directories, copied 4 files
Running "copy:themeFonts" (copy) task
Created 1 directories, copied 5 files
Running "copy:main" (copy) task
Copied 18 files
Running "less:compile" (less) task
Running "handlebars:compile" (handlebars) task
>> 1 file created.
Running "javascript:compile" (javascript) task
Fatal error: Error: Module loading did not complete for: core/js/app, plugins, e
xtensions/adapt-contrib-spoor/js/adapt-contrib-spoor, core/js/adapt, extensions/
adapt-contrib-spoor/js/adapt-stateful-session, extensions/adapt-contrib-spoor/js
/serializers/default, extensions/adapt-contrib-spoor/js/serializers/questions, e
xtensions/adapt-contrib-spoor/js/adapt-offlineStorage-scorm, core/js/offlineStor
age
The following modules share the same URL. This could be a misconfiguration if th
at URL only has one anonymous module in it:
C:/adapt_authoring/temp/adapt_framework/src/core/js/adapt.js: core/js/adapt, cor
eJS/adapt
C:/adapt_authoring/temp/adapt_framework/src/core/js/offlineStorage.js: core/js/o
fflineStorage, coreJS/offlineStorage
at Function.build.checkForErrors (C:\adapt_authoring\temp\adapt_framework\no
de_modules\requirejs\bin\r.js:28204:19)
Execution Time (2017-05-18 06:02:32 UTC+2)
loading tasks 918ms █████ 12%
loading grunt-contrib-copy 172ms █ 2%
copy:componentAssets 864ms ████ 11%
copy:componentFonts 117ms █ 2%
copy:extensionAssets 1.2s ██████ 16%
copy:extensionFonts 122ms █ 2%
copy:themeFonts 82ms █ 1%
copy:main 332ms ██ 4%
less:compile 2.1s ██████████ 28%
handlebars:compile 694ms ████ 9%
javascript:compile 773ms ████ 10%
Total 7.6s
error: [18 May 2017 06:02:40 +02:00] Error: Command failed: C:\Windows\system32\
cmd.exe /s /c "grunt server-build:prod --outputdir=courses\577a556f234ca0ec3cae8
7f1\591d1854efd4d39c1a1e0977\build --theme=adapt-contrib-vanilla --menu=adapt-co
ntrib-boxMenu"
error: [18 May 2017 06:02:40 +02:00] Error: Command failed: C:\Windows\system32\
cmd.exe /s /c "grunt server-build:prod --outputdir=courses\577a556f234ca0ec3cae8
7f1\591d1854efd4d39c1a1e0977\build --theme=adapt-contrib-vanilla --menu=adapt-co
ntrib-boxMenu"
any idea what the issue is and how it can be resolved?