NRCHKB / node-red-contrib-homekit-bridged

Node-RED Contribution - HomeKit Bridged : Node-RED nodes to simulate Apple HomeKit devices.
https://nrchkb.github.io
MIT License
412 stars 52 forks source link

Update failed to 1.5.0 #518

Closed Kositch closed 4 months ago

Kositch commented 1 year ago

Update node-red-contrib-homekit-bridged palette: I have latest version of NR 3.0.2 and updated all palettes without any issues, but I cant update this palette with error as in screenshot of the log. I have NR running in Homebridge image of Raspbian GNU/Linux Buster (10). Node.js Version v18.15.0. I am updating from version 1.4.3. Thanks for any advise how to update this palette. 2023-03-12_08-58-36

TheNON75 commented 1 year ago

Hi @Kositch ,

According to the log there is a permission issue on your files. In the log there is a recommended action to perform too. Have you tried to run that?

Kositch commented 1 year ago

Hi @Kositch ,

According to the log there is a permission issue on your files. In the log there is a recommended action to perform too. Have you tried to run that?

Not yet, I am worried, so it doesn't mess other things in my system 🤷‍♂️

Kositch commented 1 year ago

I have run that command advised in error log and update of palette still fails, now with this log output: 2023-03-12_11-36-24

Shaquu commented 1 year ago

Can you run that command in command line in node-red directory? Then restart node-red itself.

Kositch commented 1 year ago

Can you run that command in command line in node-red directory? Then restart node-red itself.

You mean run that command sudo chown 1000:1000 "/home/pi/.npm" - I have run that from command line after I have logged in to RPi. Should I run other commend or do something else befor i run it after I login? Sorry I am not a linux guy.

GogoVega commented 9 months ago

Hi @Kositch, A solution that I have read would be to run the Node-RED installation script in order to reinstall a clean version of npm.

Hope this solves your problem if you still have it.

Shaquu commented 4 months ago

I close the Issue due to inactivity. If you come back here and still have a problem then feel free to comment here or open new Issue.