MacWyznawca / homebridge-mqtt-switch-tasmota

Plugin to HomeBridge optimized to work with firmware Sonoff-Tasmota, MQTT.
MIT License
57 stars 18 forks source link

install error #1

Open iguman opened 7 years ago

iguman commented 7 years ago

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

MacWyznawca commented 7 years ago

Unfortunately, I can not in themselves confirm this error.