Hi all, I am attempting to install the Adapt Authoring tool (and thus the framework) onto an Ubuntu 16 installation. I am following the guide here: https://github.com/adaptlearning/adapt_authoring/wiki/Developer's-Install and have gotten to step 3. Run the install. Sudo npm install works ok, but when I attempt sudo node install I get the following error:
Checking configuration, please wait a moment ...
readline.js:982
throw err;
^
Error: Cannot find module 'internal/fs'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at evalmachine.<anonymous>:18:20
at Object.<anonymous> (/var/www/html/adaptauthoring/node_modules/bower/node_modules/graceful-fs/fs.js:11:1)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/var/www/html/adaptauthoring/node_modules/bower/node_modules/graceful-fs/graceful-fs.js:3:27)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
So I have tried the following:
- Tried to re-install the node/nvm/npm tool
- Tried downgrading the node version and npm versions following this post: https://github.com/nodejs/node/issues/9377
- Tried to install the specific missing module following the instructions found here: https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-16-04
- The above included linking the module.
I am all out of ideas and this one has me scratching my head. Any ideas?
Current:
- node -v = v6.9.4, though have tried v7.5.0
- npm -v = 3.10.10
Mark