Hi,
I have been trying to install the Adapt Framework but keep hitting errors. I am currently trying to install on a fresh install of Ubuntu Xenial server (I have also tried Debian Jessie and Windows 2012 encountering a variety of issues) but I am getting this when trying to run (as root):
npm install -g adapt-cli
62073 verbose stack Error: nodegit@0.16.0 install: `node lifecycleScripts/preinstall && node lifecycleScripts/install`
62073 verbose stack spawn ENOENT
62073 verbose stack at ChildProcess.<anonymous> (/root/.nvm/versions/node/v7.7.0/lib/node_modules/npm/lib/utils/spawn.js:33:16)
62073 verbose stack at emitTwo (events.js:106:13)
62073 verbose stack at ChildProcess.emit (events.js:194:7)
62073 verbose stack at maybeClose (internal/child_process.js:899:16)
62073 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
62074 verbose pkgid nodegit@0.16.0
62075 verbose cwd /root
62076 error Linux 4.4.0-31-generic
62077 error argv "/root/.nvm/versions/node/v7.7.0/bin/node" "/root/.nvm/versions/node/v7.7.0/bin/npm" "install" "-g" "adapt-cli"
62078 error node v7.7.0
62079 error npm v4.1.2
62080 error file sh
62081 error code ELIFECYCLE
62082 error errno ENOENT
62083 error syscall spawn
62084 error nodegit@0.16.0 install: `node lifecycleScripts/preinstall && node lifecycleScripts/install`
62084 error spawn ENOENT
62085 error Failed at the nodegit@0.16.0 install script 'node lifecycleScripts/preinstall && node lifecycleScripts/install'.
62085 error Make sure you have the latest version of node.js and npm installed.
62085 error If you do, this is most likely a problem with the nodegit package,
62085 error not with npm itself.
62085 error Tell the author that this fails on your system:
62085 error node lifecycleScripts/preinstall && node lifecycleScripts/install
62085 error You can get information on how to open an issue for this project with:
62085 error npm bugs nodegit
62085 error Or if that isn't available, you can get their info via:
62085 error npm owner ls nodegit
62085 error There is likely additional logging output above.
62086 verbose exit [ 1, true ]
I have attached a screen grab and the npm-debug log.
I have been messing around with this for a while trying to get it working, so if anyone has a suggestion any help would be greatly appreciated!
Thanks,
Rob