simeonovp / node-red-contrib-tasmotas

Use and control Tasmota devices in NodeRed
MIT License
1 stars 1 forks source link

Installation fails with missing `socket.io` #2

Open jtagcat opened 10 months ago

jtagcat commented 10 months ago
27 Oct 22:54:22 - [info] Installing module: node-red-contrib-tasmotas, version: 2.0.3
27 Oct 22:54:41 - [info] Installed module: node-red-contrib-tasmotas
27 Oct 22:54:41 - [info] Added node types:
27 Oct 22:54:41 - [info]  - node-red-contrib-tasmotas:tasmota-mqtt-broker
27 Oct 22:54:41 - [info]  - node-red-contrib-tasmotas:tasmota-device : Error: Cannot find module 'socket.io'
Require stack:
- /data/node_modules/node-red-contrib-tasmotas/nodes/tasmota_device.js
- /usr/src/node-red/node_modules/@node-red/registry/lib/loader.js
- /usr/src/node-red/node_modules/@node-red/registry/lib/index.js
- /usr/src/node-red/node_modules/@node-red/runtime/lib/nodes/index.js
- /usr/src/node-red/node_modules/@node-red/runtime/lib/index.js
- /usr/src/node-red/node_modules/node-red/lib/red.js
- /usr/src/node-red/node_modules/node-red/red.js
27 Oct 22:54:41 - [info]  - node-red-contrib-tasmotas:tasmota-manager : Error: Cannot find module 'socket.io'
Require stack:
- /data/node_modules/node-red-contrib-tasmotas/nodes/tasmota_manager.js
- /usr/src/node-red/node_modules/@node-red/registry/lib/loader.js
- /usr/src/node-red/node_modules/@node-red/registry/lib/index.js
- /usr/src/node-red/node_modules/@node-red/runtime/lib/nodes/index.js
- /usr/src/node-red/node_modules/@node-red/runtime/lib/index.js
- /usr/src/node-red/node_modules/node-red/lib/red.js
- /usr/src/node-red/node_modules/node-red/red.js
27 Oct 22:54:41 - [info]  - node-red-contrib-tasmotas:tasmota-rf-manager
27 Oct 22:54:41 - [info]  - node-red-contrib-tasmotas:tasmota-switch
27 Oct 22:54:41 - [info]  - node-red-contrib-tasmotas:tasmota-pulsetime
27 Oct 22:54:41 - [info]  - node-red-contrib-tasmotas:tasmota-shutter
27 Oct 22:54:41 - [info]  - node-red-contrib-tasmotas:tasmota-sensor
27 Oct 22:54:41 - [info]  - node-red-contrib-tasmotas:tasmota-light
27 Oct 22:54:41 - [info]  - node-red-contrib-tasmotas:tasmota-button
27 Oct 22:54:41 - [info]  - node-red-contrib-tasmotas:tasmota-generic
27 Oct 22:54:41 - [info]  - node-red-contrib-tasmotas:tasmota-rf-device
27 Oct 22:54:41 - [info]  - node-red-contrib-tasmotas:tasmota-rf-bridge
27 Oct 22:54:41 - [info]  - node-red-contrib-tasmotas:tasmota-config
simeonovp commented 10 months ago

Thanks for your feedback,it is a lack of dependency. It will be fixed. The workaround is to first install the nodered-contrib-dashboard package

Am Freitag, 27. Oktober 2023 um 21:57:35 MESZ hat jtagcat ***@***.***> Folgendes geschrieben:  

27 Oct 22:54:22 - [info] Installing module: node-red-contrib-tasmotas, version: 2.0.3 27 Oct 22:54:41 - [info] Installed module: node-red-contrib-tasmotas 27 Oct 22:54:41 - [info] Added node types: 27 Oct 22:54:41 - [info] - node-red-contrib-tasmotas:tasmota-mqtt-broker 27 Oct 22:54:41 - [info] - node-red-contrib-tasmotas:tasmota-device : Error: Cannot find module 'socket.io' Require stack:

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>