error cb() never called! mac OS vue

(Alisa) #1

Hi guys! I have seen a lot of tickets on this forum about this problem, but the problem is still not solved.
I ran
npm install -g @vue/cli ,
and i see
Unhandled rejection Error: EISDIR: illegal operation on a directory, open '/Users/alisazhuryk/.npm/_cacache/content-v2/sha512/8b/41'
error cb() never called!

Mac OS: Mojave 10.14.3
node: v8.11.2
npm: 6.8.0

Log file:
0 info it worked if it ends with ok
1 verbose cli [ ‘/usr/local/bin/node’,
1 verbose cli ‘/usr/local/bin/npm’,
1 verbose cli ‘install’,
1 verbose cli ‘-g’,
1 verbose cli ‘@vue/cli’ ]
2 info using npm@6.8.0
3 info using node@v8.11.2
4 verbose npm-session e8690a41a15823f1
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 timing npm Completed in 2353ms
8 error cb() never called!
9 error This is an error with npm itself. Please report this error at:
10 error

(Lars Willighagen) #2

Unfortunately posting it again doesn’t help solving it quicker :slightly_frowning_face:. Here’s a workaround, if you haven’t seen it already:

(Lars Willighagen) closed #3