title: npm error installing serialport
body: <p>I'm trying to use node.js serialport package but it give some errors that I don't understand.</p>
  
  <p>To simplify, I start form a clear directory 'test' and I create a new app:</p>
  
  <blockquote>
    <p>sudo npm init</p>
  </blockquote>
  
  <p>Then I try to install serialport:</p>
  
  <blockquote>
    <p>sudo npm install serialport --save</p>
  </blockquote>
  
  <p>but I've got this error:</p>
  
  <blockquote>
    <p>serialport@5.0.0 install /*********/test/node_modules/serialport
    node-pre-gyp install --fallback-to-build</p>
    
    <p>env: node: No such file or directory
    npm WARN test@1.0.0 No description
    npm WARN test@1.0.0 No repository field.</p>
    
    <p>npm ERR! file sh
    npm ERR! code ELIFECYCLE
    npm ERR! errno ENOENT
    npm ERR! syscall spawn
    npm ERR! serialport@5.0.0 install: <code>node-pre-gyp install --fallback-to-build</code>
    npm ERR! spawn ENOENT
    npm ERR! 
    npm ERR! Failed at the serialport@5.0.0 install script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.</p>
    
    <p>npm ERR! A complete log of this run can be found in:
    npm ERR!     /Users/myUser/.npm/_logs/2017-09-17T20_33_23_435Z-debug.log</p>
  </blockquote>
  
  <p>I've tryed with other versions, clear npm cache, and other strange things, but I don't get any solution.</p>
  
  <p>Versions:
  OSX 10.8.5
  node -v:  v8.4.0</p>
  
  <p>Thanks!</p>