This is what I get when I go ahead and launch "node server":
C:\Program Files\adapt_authoring>node server
(node:4488) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
info: [19 Nov 2017 06:44:16 -06:00] configuration loaded from C:\Program Files\adapt_authoring\conf\config.json
info: [19 Nov 2017 06:44:17 -06:00] Supporting the following authentication types:
info: [19 Nov 2017 06:44:17 -06:00] - local
error: [19 Nov 2017 06:44:17 -06:00] Check for updates failed, Cannot determine framework version
Error: ENOENT: no such file or directory, open 'C:\Program Files\adapt_authoring\temp\adapt_framework\package.json'
info: [19 Nov 2017 06:44:18 -06:00] Connection established: adapt-tenant-master
warn: [19 Nov 2017 06:44:19 -06:00] - Tenant Admin doesn't exist, cannot update
warn: [19 Nov 2017 06:44:19 -06:00] - Authenticated User doesn't exist, cannot update
warn: [19 Nov 2017 06:44:19 -06:00] - Course Creator doesn't exist, cannot update
warn: [19 Nov 2017 06:44:19 -06:00] - Product Manager doesn't exist, cannot update
warn: [19 Nov 2017 06:44:19 -06:00] - Super Admin doesn't exist, cannot update
I think this is pretty telling: "no such file or directory" - package.json
Could this all come down to file paths? I mean, WHERE do most people have "adapt_authoring" installed (I have in my program files, and where do most people have their "data" directory for MongoDB installed (I have it at "c:\data" for example. In Linux it's a given, but in Windows it get a bit... creative, so to speak.
My config.json doesn't look right. I don't think it's finding the Mongoose data directory:
{
"outputPlugin": "adapt",
"dbType": "mongoose",
"auth": "local",
"root": "C:\\Program Files\\adapt_authoring",
"serverPort": 5000,
"serverName": "localhost",
"dbHost": "localhost",
"dbName": "adapt-tenant-master",
"dbPort": 27017,
"dataRoot": "data",
"sessionSecret": "your-session-secret",
"authoringToolRepository": "https://github.com/adaptlearning/adapt_authoring.git",
"frameworkRepository": "https://github.com/adaptlearning/adapt_framework.git",
"frameworkRevision": "tags/v2.2.3"
}
--ch