npm Community Forum (Archive)

The npm community forum has been discontinued.

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

Can Not Install Node Update nor Homebridge Plug ins

fnmservices$ sudo npm install -g homebridge-magichome
Password:
Unhandled rejection Error: EISDIR: illegal operation on a directory, open ‘/Users/fnmservices/.npm/_cacache/tmp’
at Error (native)

npm ERR! cb() never called!

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

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/fnmservices/.npm/_logs/2019-02-13T21_55_28_187Z-debug.log

Log:
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 ‘homebridge-magichome’ ]
2 info using npm@6.7.0
3 info using node@v6.10.2
4 verbose npm-session 037b0d12c9969eed
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 timing npm Completed in 6431ms
8 error cb() never called!
9 error This is an error with npm itself. Please report this error at:
10 error https://npm.community

Any Help would be Awesome Thank You


There’s a guide in this post: