npm ERR! Failed to parse json
npm ERR! Unexpected end of input at 1:1204
npm ERR! d":"https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.
npm ERR! ^
npm ERR! File: /root/.npm/buffer-shims/1.0.0/package/package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR!
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse
npm ERR! Please include the following file with any support request:
npm ERR! /home/gaga/npm-debug.log
Hi,
I get this error.
sudo npm install -g homebridge-mqtt-switch-tasmota npm ERR! Linux 3.4.113-sun8i npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "homebridge-mqtt-switch-tasmota" npm ERR! node v4.2.1 npm ERR! npm v2.14.7 npm ERR! file /root/.npm/buffer-shims/1.0.0/package/package.json npm ERR! code EJSONPARSE
npm ERR! Failed to parse json npm ERR! Unexpected end of input at 1:1204 npm ERR! d":"https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2. npm ERR! ^ npm ERR! File: /root/.npm/buffer-shims/1.0.0/package/package.json npm ERR! Failed to parse package.json data. npm ERR! package.json must be actual JSON, not just JavaScript. npm ERR! npm ERR! This is not a bug in npm. npm ERR! Tell the package author to fix their package.json file. JSON.parse
npm ERR! Please include the following file with any support request: npm ERR! /home/gaga/npm-debug.log