title: Error: Cannot find module './is-buffer'
body: <p>I haven't found any posts that have an answer for this one. It appears to be a sourcing issue, but no matter what I try I can't seem to source it properly. I get the following error when trying to launch my application. </p>
  
  <p>is-buffer is installed. I see it in my node-modules directory.</p>
  
  <pre><code>C:\MY-APP\dataService&gt;node dataAPI.js
  module.js:338
      throw err;
      ^
  Error: Cannot find module './is-buffer'
      at Function.Module._resolveFilename (module.js:336:15)
      at Function.Module._load (module.js:278:25)
      at Module.require (module.js:365:17)
      at require (module.js:384:17)
      at Object.&lt;anonymous&gt; (C:\MY-APP\node_modules\socket.io\node_modules\so
  ket.io-adapter\node_modules\socket.io-parser\index.js:11:13)
      at Module._compile (module.js:460:26)
      at Object.Module._extensions..js (module.js:478:10)
      at Module.load (module.js:355:32)
      at Function.Module._load (module.js:310:12)
  </code></pre>
  
  <p>I tried setting this in my binary file as well as my package.json. I'm able to change it in my binary file, but no matter what I'm not able to find the correct src dir. </p>
  
  <p>I also tried <strong>npm install is-buffer -g</strong> to no avail. Any advice?</p>
  
  <hr>
  
  <h2>Unexpected token ILLEGAL</h2>
  
  <p>I was able to update the source to </p>
  
  <pre><code> var isBuf = require('C:\VF_PDO_APP\node_modules\is-buffer');
  </code></pre>
  
  <p>So now it seems to be going to the right place I think. Now however, I'm getting <strong>Unexpected token ILLEGAL</strong>.</p>
  
  <pre><code>C:\MY-APP\dataService&gt;node dataAPI.js
  C:\MY-APP\node_modules\socket.io\node_modules\socket.io-adapter\node_modules\socket.io-parser\binary.js:10
  socket.io\node_modules\socket.io-adapter\node_modules\socket.io-parser
     ^^^
   SyntaxError: Unexpected token ILLEGAL
   at exports.runInThisContext (vm.js:73:16)
   at Module._compile (module.js:443:25)
   at Object.Module._extensions..js (module.js:478:10)
   at Module.load (module.js:355:32)
   at Function.Module._load (module.js:310:12)
   at Module.require (module.js:365:17)
   at require (module.js:384:17)
   at Object.&lt;anonymous&gt; (C:\MY-APP\node_modules\socket.io\node_modules\soc
   ket.io-adapter\node_modules\socket.io-parser\index.js:10:14)
   at Module._compile (module.js:460:26)
   at Object.Module._extensions..js (module.js:478:10)
  </code></pre>