Picture of Fraszer D Phillips
Cannot start Adapt Authoring Tool "Ubuntu Server Installation"
by Fraszer D Phillips - Tuesday, 9 August 2016, 1:51 PM
 

When running the command "node server" i receive the following -

(node:1977) 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.
(node:1977) 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: [09 Aug 2016 14:42:41 +01:00] Supporting the following authentication types:
info: [09 Aug 2016 14:42:41 +01:00] - local
(node:1977) 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: [09 Aug 2016 14:42:52 +01:00] app.productname v0.2.0
info: [09 Aug 2016 14:42:52 +01:00] The Adapt Framework being used is v2.0.7 - v2.0.11 is now available
info: [09 Aug 2016 14:42:52 +01:00] Run "node upgrade.js" to update to the latest version
/home/bluezinc/adapt_authoring/node_modules/serve-favicon/index.js:55
if (!path) throw new TypeError('path to favicon.ico is required');
^

TypeError: path to favicon.ico is required
at favicon (/home/bluezinc/adapt_authoring/node_modules/serve-favicon/index.js:55:20)
at Origin.createServer (/home/bluezinc/adapt_authoring/lib/application.js:254:16)
at /home/bluezinc/adapt_authoring/lib/application.js:470:11
at /home/bluezinc/adapt_authoring/node_modules/async/lib/async.js:537:21
at /home/bluezinc/adapt_authoring/node_modules/async/lib/async.js:222:13
at iterate (/home/bluezinc/adapt_authoring/node_modules/async/lib/async.js:123:13)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickDomainCallback (internal/process/next_tick.js:122:9)

 

When I try to run the command "node upgrade.js" I then get this output - 

fs.js:640
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^

Error: ENOENT: no such file or directory, open 'conf/config.json'
at Error (native)
at Object.fs.openSync (fs.js:640:18)
at Object.fs.readFileSync (fs.js:508:33)
at Object.<anonymous> (/home/bluezinc/adapt_authoring/upgrade.js:31:32)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
at Module.runMain (module.js:575:10)
at run (bootstrap_node.js:352:7)
at startup (bootstrap_node.js:144:9)
at bootstrap_node.js:467:3

 

Can anyone tell me whats going on? :(

Picture of Tom Taylor
Re: Cannot start Adapt Authoring Tool "Ubuntu Server Installation"
by Tom Taylor - Thursday, 11 August 2016, 11:12 AM
 

Hi Fraszer,

It looks like something went wrong while installing the tool. The following error typically shows up when there's no /config/config.json file:

TypeError: path to favicon.ico is required