Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Led ui control throws exception when used #74

Open
nikotanghe opened this issue Feb 24, 2021 · 2 comments
Open

Led ui control throws exception when used #74

nikotanghe opened this issue Feb 24, 2021 · 2 comments

Comments

@nikotanghe
Copy link

Installation from within node-red ui, created a led ui node with default properties.
Node-red is installed with apt-get.
When running the dashboard, no control is generated.

Logs ->

24 Feb 19:52:40 - [info] Installed module: node-red-contrib-ui-led
24 Feb 19:52:40 - [info] Added node types:
24 Feb 19:52:40 - [info] - node-red-contrib-ui-led:ui_led
24 Feb 19:53:33 - [info] Stopping modified nodes
24 Feb 19:53:33 - [info] Stopped modified nodes
24 Feb 19:53:33 - [info] Starting modified nodes
Error: Cannot find module 'node-red-dashboard'
at Object.requireModule [as require] (/usr/lib/node_modules/node-red/node_modules/@node-red/registry/lib/util.js:48:19)
at new LEDNodeConstructor (/home/ntanghe/.node-red/node_modules/node-red-contrib-ui-led/dist/nodes/ui_led/ui_led.js:9:42)
at Object.createNode (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/flows/util.js:493:31)
at Flow.start (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/flows/Flow.js:193:48)
at start (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/flows/index.js:345:33)
at /usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/flows/index.js:212:21
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5) {
code: 'MODULE_NOT_FOUND'
}
TypeError: Cannot read property 'padEnd' of undefined
at Flow.start (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/flows/Flow.js:241:62)
at start (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/flows/index.js:345:33)
at /usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/flows/index.js:212:21
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)
24 Feb 19:53:33 - [info] Started modified nodes

@yoiang
Copy link
Member

yoiang commented Feb 24, 2021

Very strange, it can't find node-red-dashboard? Is there anything unique about your installation that comes to mind?

@nikotanghe
Copy link
Author

Very strange, it can't find node-red-dashboard? Is there anything unique about your installation that comes to mind?

nope, apt-get on debian linux 9, no customizations, everything installed en configured from the node-red interface.
Anything specific that I should check ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants