npm Community Forum (Archive)

The npm community forum has been discontinued.

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

Problem install cordova

Hi, i have this problem when install cordova
the command: sudo npm install -g cordova

the response:

Unhandled rejection Error: EISDIR: illegal operation on a directory, open '/Users/giuseppepesce/.npm/_cacache/content-v2/sha512/a0/98’
** at Error (native)**

npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!

What I Wanted to Do

What Happened Instead

Reproduction Steps


Platform Info

$ npm --versions
<!-- paste output here -->
$ node -p process.platform
<!-- paste output here -->

I solved with updating node to version 10 :-)