title: "npm install" fails on networked drive but runs local
body: <p>I have a smaller nodejs project I recently wanted to work on again on a new setup windows 10 pc. As I had a network drive on a Synology NAS as home directory I preferred to have my git projects laying on that mirrored and backuped drive.</p>
  
  <p>A npm install currectly gives that <strong>error 4048 EPERM</strong> and <strong>4082 EBUSY</strong> message:</p>
  
  <pre><code>H:\git\iplog&gt;npm install
  npm WARN Error: EPERM: operation not permitted, scandir 'H:\git\iplog\node_modules\fsevents\node_modules\dashdash\node_modules'
  npm WARN  { Error: EPERM: operation not permitted, scandir 'H:\git\iplog\node_modules\fsevents\node_modules\dashdash\node_modules'
  npm WARN   stack: 'Error: EPERM: operation not permitted, scandir \'H:\\git\\iplog\\node_modules\\fsevents\\node_modules\\dashdash\\node_modules\'',
  npm WARN   errno: -4048,
  npm WARN   code: 'EPERM',
  npm WARN   syscall: 'scandir',
  npm WARN   path: 'H:\\git\\iplog\\node_modules\\fsevents\\node_modules\\dashdash\\node_modules' }
  npm ERR! path H:\git\iplog\node_modules\mjml-utils\src\mjml-utils.js.44668548
  npm ERR! code EBUSY
  npm ERR! errno -4082
  npm ERR! syscall rename
  npm ERR! EBUSY: resource busy or locked, rename 'H:\git\iplog\node_modules\mjml-utils\src\mjml-utils.js.44668548' -&gt; 'H:\git\iplog\node_modules\mjml-utils\src\mjml-utils.js'
  npm ERR! A complete log of this run can be found in:
  npm ERR!     C:\Users\kai\AppData\Roaming\npm-cache\_logs\2018-01-02T08_54_06_379Z-debug.log
  </code></pre>
  
  <p>When I copy the complete project to my c: drive it works perfectly. Even the permissions on the networked drive seem to be OK, because all folders and files belong to my network account.</p>
  
  <p>Nodejs is the current LTS version and gives</p>
  
  <pre><code>H:\git\iplog&gt;npm version
  { Iplog: '0.0.3',
    npm: '5.5.1',
    ares: '1.10.1-DEV',
    cldr: '31.0.1',
    http_parser: '2.7.0',
    icu: '59.1',
    modules: '57',
    nghttp2: '1.25.0',
    node: '8.9.3',
    openssl: '1.0.2n',
    tz: '2017b',
    unicode: '9.0',
    uv: '1.15.0',
    v8: '6.1.534.48',
    zlib: '1.2.11' }
  </code></pre>
  
  <p>Other commands like "npm cache clean" didn't help. No anti virus in the way. Just the Synonogy NAS as only difference.
  I didn't found any similar matching problem within stackoverflow while searching.</p>