Closed Niclas82 closed 5 years ago
This is the same error as #5 which was fixed almost a year ago...
Are you sure you've installed the correct version of node-red-contrib-homekit-bridged? Make sure your palette manager shows version 0.6.2 like this:
Using latest version
Is there any way to delete everything that has with homebrige to do and reinstall it?
First you stop node-red
node-red-stop
or
ps aux | grep node-red
kill -9 <pid>
Then you have to locate module files. They should be in .node-red folder. If they are not then try to locate them:
updatedb
locate node-red-contrib-homekit-bridged
In my case it returned files in _/root/.node-red/nodemodules/
We go to this node-red root folder:
cd /root/.node-red/node_modules/
Then we remove all files:
rm -r node-red-contrib-homekit-bridged
We go back to our root node-red folder (/root/.node-red/ in my case) and we look into package.json file to check what version of NRCHKB we are using:
{
"name": "node-red-project",
"description": "A Node-RED Project",
"version": "0.0.1",
"private": true,
"dependencies": {
"node-red-contrib-homekit-bridged": "~0.6.2",
If version is not 0.6.2 then change to it.
Now run
npm install
Start node-red
node-red-start
Enjoy.
@Niclas82 I am closing this Issue as it's old. If you come here again and still have problems then please try my advice from above post. It it works then then please comment. If not then comment aswell or open new Issue.
Was expermenting with the homebrige node and deleted my config to start over. When I was created a new parent node I got this error. I have tried to delete all nodes and services. Removed node-red-contrib-homekit-bridged and installed it again but I can get rid of this error. Any idea
/Niclas