itsmepetrov / homebridge-zigbee

ZigBee Platform plugin for HomeBridge
https://itsmepetrov.github.io/homebridge-zigbee/
MIT License
106 stars 36 forks source link

Can't update plugin #7

Closed Maxwell70 closed 5 years ago

Maxwell70 commented 5 years ago

В вебморде при нажатии кнопки "обновить" плагин до версии 1.1.0 запускается обновление, но потом фактически показывает, что плагин не обновился.

itsmepetrov commented 5 years ago

Hi, which image do you use?

Please attach your .npmrc config here, you can do it with following command:

cat ~/.npmrc
Maxwell70 commented 5 years ago

@itsmepetrov

2018-11-04 19 12 44
itsmepetrov commented 5 years ago

No, you need to do it with ssh, connect to pi and run command from my previous comment and attach result here.

Maxwell70 commented 5 years ago

@itsmepetrov

2018-11-04 19 25 36
itsmepetrov commented 5 years ago

Please remove last two lines from this config and try to update again.

So your config should contain only this line:

prefix=/home/pi/.npm-global
Maxwell70 commented 5 years ago

@itsmepetrov где и как мне удалить строки?

itsmepetrov commented 5 years ago

You can use any editors for that, for example nano:

nano ~/.npmrc

then remove lines and save file with following hotkeys:

Ctrl + o

then type

y

then

Ctrl + x
Maxwell70 commented 5 years ago

@itsmepetrov помогло. Спасибо!