Yes, that gets me passed the error however I still get the same error when trying to run other commands like "ls". I thought it may be an error relating to my installation of node so I attempted to uninstall node and reinstall everything from the beginning however now I seem to be unable to get adapt-cli even installed. This is the error I am getting trying to run "npm install adapt-cli"
/Users/mac/.nvm/versions/node/v6.11.1/bin/adapt -> /Users/mac/.nvm/versions/node/v6.11.1/lib/node_modules/adapt-cli/bin/adapt
> nodegit@0.22.2 install /Users/mac/.nvm/versions/node/v6.11.1/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: /Users/mac/.nvm/versions/node/v6.11.1/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/libssh2/configure --with-libssl-prefix=/Users/mac/.nvm/versions/node/v6.11.1/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/openssl/openssl
/Users/mac/.nvm/versions/node/v6.11.1/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/libssh2/configure: line 2059: config.log: Permission denied
/Users/mac/.nvm/versions/node/v6.11.1/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/libssh2/configure: line 2069: config.log: Permission denied
at ChildProcess.exithandler (child_process.js:276:12)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:915:16)
at Socket.stream.socket.on (internal/child_process.js:336:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:561:12)
killed: false,
code: 1,
signal: null,
cmd: '/Users/mac/.nvm/versions/node/v6.11.1/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/libssh2/configure --with-libssl-prefix=/Users/mac/.nvm/versions/node/v6.11.1/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/openssl/openssl' }
/Users/mac/.nvm/versions/node/v6.11.1/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/libssh2/configure: line 2059: config.log: Permission denied
/Users/mac/.nvm/versions/node/v6.11.1/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/libssh2/configure: line 2069: config.log: Permission denied
[nodegit] ERROR - Could not finish preinstall
{ Error: Command failed: /Users/mac/.nvm/versions/node/v6.11.1/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/libssh2/configure --with-libssl-prefix=/Users/mac/.nvm/versions/node/v6.11.1/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/openssl/openssl
/Users/mac/.nvm/versions/node/v6.11.1/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/libssh2/configure: line 2059: config.log: Permission denied
/Users/mac/.nvm/versions/node/v6.11.1/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/libssh2/configure: line 2069: config.log: Permission denied
at ChildProcess.exithandler (child_process.js:276:12)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:915:16)
at Socket.stream.socket.on (internal/child_process.js:336:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:561:12)
killed: false,
code: 1,
signal: null,
cmd: '/Users/mac/.nvm/versions/node/v6.11.1/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/libssh2/configure --with-libssl-prefix=/Users/mac27-2k/.nvm/versions/node/v6.11.1/lib/node_modules/adapt-cli/node_modules/nodegit/vendor/openssl/openssl' }
npmERR!code ELIFECYCLE
npmERR!errno 1
npmERR! nodegit@0.22.2 install: `node lifecycleScripts/preinstall && node lifecycleScripts/install`
npmERR! Exit status 1
npmERR!
npmERR! Failed at the nodegit@0.22.2 install script.
npmERR! This is probably not a problem with npm. There is likely additional logging output above.
I do not understand why it is referencing node v6.11.1 because running node --version shows 8.12.0. I clearly have no idea what I'm doing so any help would be appreciated.
Thanks.