Good day,
I need some technical insight into this error I get when I preview or try to download a course, thank you:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
E:\adapt_authoring>node server
info: [27 Jan 2024 08:03:19 +02:00] configuration loaded from E:\adapt_authoring
\conf\config.json
info: [27 Jan 2024 08:03:19 +02:00] Supporting the following authentication type
s:
info: [27 Jan 2024 08:03:19 +02:00] - local
info: [27 Jan 2024 08:03:21 +02:00] You are currently running Adapt authoring to
ol v0.3.0 - v0.11.2 is now available
info: [27 Jan 2024 08:03:21 +02:00] The Adapt Framework being used is v2.2.2 - v
5.35.2 is now available
info: [27 Jan 2024 08:03:21 +02:00] Run "node upgrade.js" to update to the lates
t version
info: [27 Jan 2024 08:03:23 +02:00] Connection established: adapt-tenant-master
info: [27 Jan 2024 08:03:25 +02:00] Server started listening on port 5000
info: [27 Jan 2024 08:03:42 +02:00] Connection established: adapt-tenant-master
info: [27 Jan 2024 08:04:11 +02:00] Retrieving JSON
info: [27 Jan 2024 08:04:13 +02:00] All assets processed
info: [27 Jan 2024 08:04:13 +02:00] 3.1. Ensuring framework build exists
info: [27 Jan 2024 08:04:13 +02:00] 3.2. Using theme: adapt-contrib-vanilla
info: [27 Jan 2024 08:04:13 +02:00] 3.3. Using menu: adapt-contrib-boxMenu
info: [27 Jan 2024 08:04:13 +02:00] grunt server-build:prod --outputdir=courses\
5959398e2c54bd64ad7e1324\595a07684f6e7b7c297a70a9\build --theme=adapt-contrib-va
nilla --menu=adapt-contrib-boxMenu
error: [27 Jan 2024 08:04:14 +02:00] exec error: Error: Command failed: C:\Windo
ws\system32\cmd.exe /s /c "grunt server-build:prod --outputdir=courses\5959398e2
c54bd64ad7e1324\595a07684f6e7b7c297a70a9\build --theme=adapt-contrib-vanilla --m
enu=adapt-contrib-boxMenu"
C:\Users\User\AppData\Roaming\npm\node_modules\grunt-cli\node_modules\micromatch
\index.js:44
let isMatch = picomatch(String(patterns[i]), { ...options, onResult }, true)
;
^^^
SyntaxError: Unexpected token ...
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (C:\Users\User\AppData\Roaming\npm\node_modules\grunt-
cli\node_modules\findup-sync\index.js:12:10)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
error: [27 Jan 2024 08:04:14 +02:00] stdout error:
error: [27 Jan 2024 08:04:14 +02:00] Error: Command failed: C:\Windows\system32\
cmd.exe /s /c "grunt server-build:prod --outputdir=courses\5959398e2c54bd64ad7e1
324\595a07684f6e7b7c297a70a9\build --theme=adapt-contrib-vanilla --menu=adapt-co
ntrib-boxMenu"
C:\Users\User\AppData\Roaming\npm\node_modules\grunt-cli\node_modules\micromatch
\index.js:44
let isMatch = picomatch(String(patterns[i]), { ...options, onResult }, true)
;
^^^
SyntaxError: Unexpected token ...
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (C:\Users\User\AppData\Roaming\npm\node_modules\grunt-
cli\node_modules\findup-sync\index.js:12:10)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
error: [27 Jan 2024 08:04:14 +02:00] Error: Command failed: C:\Windows\system32\
cmd.exe /s /c "grunt server-build:prod --outputdir=courses\5959398e2c54bd64ad7e1
324\595a07684f6e7b7c297a70a9\build --theme=adapt-contrib-vanilla --menu=adapt-co
ntrib-boxMenu"
C:\Users\User\AppData\Roaming\npm\node_modules\grunt-cli\node_modules\micromatch
\index.js:44
let isMatch = picomatch(String(patterns[i]), { ...options, onResult }, true)
;
^^^
SyntaxError: Unexpected token ...
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (C:\Users\User\AppData\Roaming\npm\node_modules\grunt-
cli\node_modules\findup-sync\index.js:12:10)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)