npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

ENOENT when globally installing multiple folders

What I Wanted to Do

Globally install multiple folders at the same time

What Happened Instead

npm crashed with an ENOENT.

Reproduction Steps

  1. git clone
  2. git clone
  3. (cd create && npm i) && (cd go-out && npm i)
  4. npm i -g create/ go-out/



{ npm: '6.1.0',
  ares: '1.14.0',
  cldr: '33.0',
  http_parser: '2.8.0',
  icu: '61.1',
  modules: '64',
  napi: '3',
  nghttp2: '1.29.0',
  node: '10.1.0',
  openssl: '1.1.0h',
  tz: '2018c',
  unicode: '10.0',
  uv: '1.20.2',
  v8: '6.6.346.27-node.6',
  zlib: '1.2.11' }

Debug log:

I wonder if this has to do with global install of shrinkwrapped package fails with ENOENT: no such file or directory, rename or npm install fails with "ENOENT: no such file or directory"


Note: This doesn’t actually repro the bug for me. Even after re-running it :upside_down_face: