Have anyone installed the Adapt CLI lately? It didn't for me. I got the Node.js 6.9.0 and npm 3.10.8 installed and ran the command below and got the error below, i also tried to install the latest npm version 5.6.0 but still no lucks.
sudo npm install adapt-cli -g
npm WARN deprecated bower@1.8.2: ...psst! Your project can stop working at any m oment because its dependencies can change. Prevent this by migrating to Yarn: ht tps://bower.io/blog/2017/how-to-migrate-away-from-bower/
/usr/bin/adapt -> /usr/lib/node_modules/adapt-cli/bin/adapt
> nodegit@0.20.3 install /usr/lib/node_modules/adapt-cli/node_modules/nodegit
> node lifecycleScripts/preinstall && node lifecycleScripts/install
[nodegit] Running pre-install script
[nodegit] Configuring libssh2.
{ Error: Command failed: /usr/lib/node_modules/adapt-cli/node_modules/nodegit/ve ndor/libssh2/configure --with-libssl-prefix=/usr/lib/node_modules/adapt-cli/node _modules/nodegit/vendor/openssl/openssl
/usr/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/libssh2/missing: Unk nown `--is-lightweight' option
Try `/usr/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/libssh2/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
configure: error: in `/usr/lib/node_modules/adapt-cli/node_modules/nodegit/vendo r/libssh2':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
at ChildProcess.exithandler (child_process.js:206:12)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:877:16)
at Socket.<anonymous> (internal/child_process.js:334:11)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:498:12)
killed: false,
code: 1,
signal: null,
cmd: '/usr/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/libssh2/conf igure --with-libssl-prefix=/usr/lib/node_modules/adapt-cli/node_modules/nodegit/ vendor/openssl/openssl' }
/usr/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/libssh2/missing: Unk nown `--is-lightweight' option
Try `/usr/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/libssh2/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
configure: error: in `/usr/lib/node_modules/adapt-cli/node_modules/nodegit/vendo r/libssh2':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
[nodegit] ERROR - Could not finish preinstall
{ Error: Command failed: /usr/lib/node_modules/adapt-cli/node_modules/nodegit/ve ndor/libssh2/configure --with-libssl-prefix=/usr/lib/node_modules/adapt-cli/node _modules/nodegit/vendor/openssl/openssl
/usr/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/libssh2/missing: Unk nown `--is-lightweight' option
Try `/usr/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/libssh2/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
configure: error: in `/usr/lib/node_modules/adapt-cli/node_modules/nodegit/vendo r/libssh2':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
at ChildProcess.exithandler (child_process.js:206:12)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:877:16)
at Socket.<anonymous> (internal/child_process.js:334:11)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:498:12)
killed: false,
code: 1,
signal: null,
cmd: '/usr/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/libssh2/conf igure --with-libssl-prefix=/usr/lib/node_modules/adapt-cli/node_modules/nodegit/ vendor/openssl/openssl' }
[ ...] / install: info lifecycle nodegit@0.20.3~install: Failed to exec install script
[ ...] / install: info lifecycle nodegit@0.20.3~install: Failed to exec install script
/usr/lib
└── (empty)
npm ERR! Linux 3.10.0-693.17.1.el7.x86_64
npm ERR! argv "/usr/bin/node" "/bin/npm" "install" "adapt-cli" "-g"
npm ERR! node v6.9.0
npm ERR! npm v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! nodegit@0.20.3 install: `node lifecycleScripts/preinstall && node lifecycleScripts/install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the nodegit@0.20.3 install script 'node lifecycleScripts/preinstall && node lifecycleScripts/install'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the nodegit package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node lifecycleScripts/preinstall && node lifecycleScripts/install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs nodegit
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls nodegit
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /root/npm-debug.log
npm ERR! code 1