Help with npm install err

(Mark Segal) #1

I am getting an error I can not seem to solve, tried a number of things but not sure how to address, even a hint would be helpful.

Thanks,
M

Here is the log
pi@raspberrypi:~ $ sudo npm -g install homebridge-mylink
(node:11636) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
npm ERR! tar.unpack untar error /root/.npm/generic-pool/3.7.1/package.tgz
npm ERR! Error: Invalid Package: expected sinonjs/formatio but found @sinonjs/formatio
npm ERR! at /usr/share/npm/lib/cache/add-local-tarball.js:161:14
npm ERR! at _combinedTickCallback (internal/process/next_tick.js:131:7)
npm ERR! at process._tickCallback (internal/process/next_tick.js:180:9)
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues

npm ERR! System Linux 4.14.98-v7+
npm ERR! command “/usr/bin/node” “/usr/bin/npm” “-g” “install” “homebridge-mylink”
npm ERR! cwd /home/pi
npm ERR! node -v v8.11.1
npm ERR! npm -v 1.4.21
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/pi/npm-debug.log
npm ERR! not ok code 0
pi@raspberrypi:~ $

(system) closed #2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.