title: errors installing composer-cli
body: <p>I am having trouble getting composer-cli to install properly. I've tried uninstalling node and npm with both homebrew and other methods. I was getting an error pertaining to my python installation. So I went ahead and installed python2.7 and instructed npm to use that. This seemed to solve that particular error, but then others arose. If anybody has experience with this issue, I would greatly appreciate some assistance. Thank you!</p>
  
  <p>Log File:</p>
  
  <pre><code>16859 verbose argv "/Users/jcole/.nvm/versions/node/v8.12.0/bin/node" 
  "/Users/jcole/.nvm/versions/node/v8.12.0/bin/npm" "install" "-g" "composer-cli"
  16860 verbose node v8.12.0
  16861 verbose npm  v6.4.1
  16862 error code ELIFECYCLE
  16863 error errno 1
  16864 error node-report@2.2.1 install: `node-gyp rebuild`
  16864 error Exit status 1
  16865 error Failed at the node-report@2.2.1 install script.
  16865 error This is probably not a problem with npm. There is likely additional logging output above.
  16866 verbose exit [ 1, true ]
  </code></pre>
  
  <p>terminal: </p>
  
  <pre><code>[~]$ npm install -g composer-cli
  /Users/jcole/.nvm/versions/node/v8.12.0/bin/composer -&gt; /Users/jcole/.nvm/versions/node/v8.12.0/lib/node_modules/composer-cli/cli.js
  
  &gt; dtrace-provider@0.8.7 install /Users/jcole/.nvm/versions/node/v8.12.0/lib/node_modules/composer-cli/node_modules/dtrace-provider
  &gt; node-gyp rebuild || node suppress-error.js
  
  gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
  gyp ERR! configure error 
  gyp ERR! stack Error: Command failed: /usr/local/bin/python -c import sys; print "%s.%s.%s" % sys.version_info[:3];
  gyp ERR! stack   File "&lt;string&gt;", line 1
  gyp ERR! stack     import sys; print "%s.%s.%s" % sys.version_info[:3];
  gyp ERR! stack                                ^
  gyp ERR! stack SyntaxError: invalid syntax
  gyp ERR! stack 
  gyp ERR! stack     at ChildProcess.exithandler (child_process.js:276:12)
  gyp ERR! stack     at emitTwo (events.js:126:13)
  gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
  gyp ERR! stack     at maybeClose (internal/child_process.js:915:16)
  gyp ERR! stack     at Socket.stream.socket.on (internal/child_process.js:336:11)
  gyp ERR! stack     at emitOne (events.js:116:13)
  gyp ERR! stack     at Socket.emit (events.js:211:7)
  gyp ERR! stack     at Pipe._handle.close [as _onclose] (net.js:561:12)
  gyp ERR! System Darwin 17.7.0
  gyp ERR! command "/Users/jcole/.nvm/versions/node/v8.12.0/bin/node" "/Users/jcole/.nvm/versions/node/v8.12.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
  gyp ERR! cwd /Users/jcole/.nvm/versions/node/v8.12.0/lib/node_modules/composer-cli/node_modules/dtrace-provider
  gyp ERR! node -v v8.12.0
  gyp ERR! node-gyp -v v3.8.0
  gyp ERR! not ok 
  
  &gt; fsevents@1.2.4 install /Users/jcole/.nvm/versions/node/v8.12.0/lib/node_modules/composer-cli/node_modules/fsevents
  &gt; node install
  
  [fsevents] Success: "/Users/jcole/.nvm/versions/node/v8.12.0/lib/node_modules/composer-cli/node_modules/fsevents/lib/binding/Release/node-v57-darwin-x64/fse.node" already installed
  Pass --update-binary to reinstall or --build-from-source to recompile
  
  &gt; node-report@2.2.1 install /Users/jcole/.nvm/versions/node/v8.12.0/lib/node_modules/composer-cli/node_modules/node-report
  &gt; node-gyp rebuild
  
  gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
  gyp ERR! configure error 
  gyp ERR! stack Error: Command failed: /usr/local/bin/python -c import sys; print "%s.%s.%s" % sys.version_info[:3];
  gyp ERR! stack   File "&lt;string&gt;", line 1
  gyp ERR! stack     import sys; print "%s.%s.%s" % sys.version_info[:3];
  gyp ERR! stack                                ^
  gyp ERR! stack SyntaxError: invalid syntax
  gyp ERR! stack 
  gyp ERR! stack     at ChildProcess.exithandler (child_process.js:276:12)
  gyp ERR! stack     at emitTwo (events.js:126:13)
  gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
  gyp ERR! stack     at maybeClose (internal/child_process.js:915:16)
  gyp ERR! stack     at Socket.stream.socket.on (internal/child_process.js:336:11)
  gyp ERR! stack     at emitOne (events.js:116:13)
  gyp ERR! stack     at Socket.emit (events.js:211:7)
  gyp ERR! stack     at Pipe._handle.close [as _onclose] (net.js:561:12)
  gyp ERR! System Darwin 17.7.0
  gyp ERR! command "/Users/jcole/.nvm/versions/node/v8.12.0/bin/node" "/Users/jcole/.nvm/versions/node/v8.12.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
  gyp ERR! cwd /Users/jcole/.nvm/versions/node/v8.12.0/lib/node_modules/composer-cli/node_modules/node-report
  gyp ERR! node -v v8.12.0
  gyp ERR! node-gyp -v v3.8.0
  gyp ERR! not ok 
  npm ERR! code ELIFECYCLE
  npm ERR! errno 1
  npm ERR! node-report@2.2.1 install: `node-gyp rebuild`
  npm ERR! Exit status 1
  npm ERR! 
  npm ERR! Failed at the node-report@2.2.1 install script.
  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  
  npm ERR! A complete log of this run can be found in:
  npm ERR!     /Users/jcole/.npm/_logs/2018-09-18T01_49_06_082Z-debug.log
  [~]$ 
  </code></pre>