npm Community Forum (Archive)

The npm community forum has been discontinued.

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

Problems with npm itself; see attached error report

2019-07-12T15_10_37_281Z-debug.log (275.0 KB)

Maybe related to this. And it probably has something to do with permissions on files/directories (look at @shadowspawn answer).

Hope this helps.

  1. With default permissions and setup, you need to use sudo to install global packages with npm (on Mac and Linux). Were you using sudo?


sudo npm install --global gulp-cli

There are ways to avoid this by changing permissions, or changing install location, but giving you the easy answer to get you unblocked.

  1. Are you on a Mac? Upgrade to npm 6.10.1 which fixes one source of EISDIR errors: Release: npm@6.10.1