When I run "node server", I got the message to run node upgrade.js.
After running that, I get the following error:
---
$ node upgrade.js
(node:10824) Warning: Accessing non-existent property 'count' of module exports
inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:10824) Warning: Accessing non-existent property 'findOne' of module export
s inside circular dependency
(node:10824) Warning: Accessing non-existent property 'remove' of module exports
inside circular dependency
(node:10824) Warning: Accessing non-existent property 'updateOne' of module expo
rts inside circular dependency
This script will update the Adapt authoring tool and/or Adapt Framework. Would y
ou like to continue?
? Continue? Yes
? Update automatically? Yes
Software updates found.
\temp\6170907a135eb321607d03be\adapt_framework switched to revision v5.17.3
Failed to upgrade \temp\6170907a135eb321607d03be\adapt_framework to v5.17.3
ERROR: error: pathspec 'v6.0.3' did not match any file(s) known to git
child_process.js:866
throw err;
^
Error: Command failed: git checkout v6.0.3
at checkExecSyncError (child_process.js:790:11)
at Object.execSync (child_process.js:863:15)
at Object.<anonymous> (C:\Users\User\Desktop\test\adapt_authoring\temp\61709
07a135eb321607d03be\adapt_framework\gitmodules.js:67:16)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js
:76:12)
at internal/main/run_main_module.js:17:47 {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 13464,
stdout: null,
stderr: null
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! adapt_framework@5.17.3 preinstall: `node gitmodules.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the adapt_framework@5.17.3 preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional log
ging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\User\AppData\Roaming\npm-cache\_logs\2021-10-24T21_42_34_9
39Z-debug.log
Upgrade was unsuccessful. Please check the console output.
---
Now when I run node server, no upgrades are mentioned, yet when I try to rebuild to preview or publish a course, I get the following error:
Command failed: grunt server-build:prod --outputdir=courses\6170907a135eb321607d03be\61709114dc4d1e3b401c6a7d\build --theme=617090ee135eb321607d03d9 --menu=adapt-contrib-boxMenu
---
I have tried this on two separate installs on two different PC's, both with the same issue.