title: NPM Install Error Woes: "npm ERR! code EINVAL"
body: <p>To begin, this all works on my OS X machine (as usual). There is something that isn't playing nice with Windows and I'd like to see if anyone has gotten anywhere with this type of error since stackoverflow seems riddled with unresolved questions on this topic.</p>
  
  <p>I am having trouble with <code>npm install</code> on Windows 7 wherein I am using nvm for node version management windows with node@8.1.2 and npm@5.0.3. This <code>EINVAL</code> style error seems to be cropping up in various issues such as:</p>
  
  <p><a href="https://stackoverflow.com/questions/47087759/getting-error-einval-invalid-argument-read-for-npm-install-save-dev-esli">getting “Error: EINVAL: invalid argument, read” for “npm install --save-dev eslint --verbose”</a> Which states the answer is to use yarn instead of npm. Another solution was to try <code>npm cache clean</code> which npm is telling me no longer applies above version 5.</p>
  
  <p><a href="https://github.com/alexanderGugel/ied/issues/44" rel="noreferrer">npm installed dependencies crash ied `Error: EINVAL: invalid argument, readlink</a> which is still unresolved.</p>
  
  <p>Here is the output seeing as that the npm-debug log is a big ball of 'skipping optional dependencies' lines. </p>
  
  <pre><code>12208 verbose stack Error: EINVAL: invalid argument, utime 'E:\htdocs\pole-refactor\node_modules\.staging\lru-cache-01620014\package.json'
  12209 verbose cwd E:\htdocs\pole-refactor
  12210 verbose Windows_NT 6.1.7601
  12211 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
  12212 verbose node v8.1.2
  12213 verbose npm  v5.0.3
  12214 error path E:\htdocs\pole-refactor\node_modules\.staging\lru-cache-01620014\package.json
  12215 error code EINVAL
  12216 error errno -4071
  12217 error syscall utime
  12218 error EINVAL: invalid argument, utime 'E:\htdocs\pole-refactor\node_modules\.staging\lru-cache-01620014\package.json'
  12219 verbose exit [ -4071, true ]
  </code></pre>
  
  <p>I've journeyed through various other EINVAL threads and turned up empty handed thsu far.  Does anyone have any ideas I can try that we can document here? </p>