node-red-contrib-mi-devices icon indicating copy to clipboard operation
node-red-contrib-mi-devices copied to clipboard

node-red-contrib-mi-devices/dist/nodes/yeelight/index.html does not exist error

Open NameLessJedi opened this issue 6 years ago • 3 comments

Hi, I do realize that this project is on hold but... I'm new to node-red (and node.js). I've installed node-red-contrib-mi-devices both using "Manage palette" and manually with npm install in proper dir but still get that error and don't see any nodes related to yeelight. Is there some easy fix for this? I'm using Node-RED 0.18.5 and Node.js 9.11.1 on linux

TIA

NameLessJedi avatar May 16 '18 09:05 NameLessJedi

Hi, I just had the same problem and removed the 2yeelight entries from the node-red-contrib-mi-devices/package.json file, this removed the error message from the "Manage palette" page.

rolfz avatar Jul 15 '18 18:07 rolfz

I think this is due to latest node red versionthat shows when there is an error because I got the same config on 2 computer, one node [email protected] no error and the other with [email protected] same error as this issue.

So just change in package.json to remove the bad link

      "xiaomi-actions": "node-red-contrib-xiaomi-actions/xiaomi-actions.js",
      "xiaomi-yeelight": "dist/nodes/yeelight/index.js"
    }

to

      "xiaomi-actions": "node-red-contrib-xiaomi-actions/xiaomi-actions.js"
    }

and you done, and if you want to drive yeelight use the correct node

npm install node-red-contrib-yeelight

hallard avatar Sep 05 '18 11:09 hallard

Good morning. Just delete those files and nothing else? I am having the same problem with the Xiaomi Gateway. Greetings.

fjterrada69 avatar Sep 02 '20 05:09 fjterrada69