Видел https://discourse.nodered.org/t/examples-for-node-red-node-ui-table/14256.
и пробовал фрагмент кода, упомянутый @ 14 / 51.
Он не работал на IBM Cloud и на моем Mac, хотя я мог установить узел,Нет сообщений ни в отладке, ни в журнале (локально).
Интересно, есть ли какие-либо предварительные требования, рабочие примеры?
Изменить после установки установки последней панели мониторинга на локальном компьютере:
$ node-red
10 Oct 14:47:28 - [info]
Welcome to Node-RED
===================
10 Oct 14:47:28 - [info] Node-RED version: v0.18.4
10 Oct 14:47:28 - [info] Node.js version: v8.12.0
10 Oct 14:47:28 - [info] Darwin 18.7.0 x64 LE
10 Oct 14:47:29 - [info] Loading palette nodes
10 Oct 14:47:37 - [info] Dashboard version 2.8.2 started at /ui
10 Oct 14:47:40 - [warn] ------------------------------------------------------
10 Oct 14:47:40 - [warn] [node-red/rpi-gpio] Info : Ignoring Raspberry Pi specific node
10 Oct 14:47:40 - [warn] [node-red-contrib-homekit/homekit] Error: The module '/Users/jps/.node-red/node_modules/mdns/build/Release/dns_sd_bindings.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 48. This version of Node.js requires
NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
10 Oct 14:47:40 - [warn] [node-red-contrib-hyperledger-composer/hperledger-composer] 'hyperledger-composer-in' already registered by module node-red-contrib-composer
10 Oct 14:47:40 - [warn] [node-red-node-sensortag/sensorTag] Error: The module '/Users/jps/.node-red/node_modules/xpc-connection/build/Release/binding.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 48. This version of Node.js requires
NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
10 Oct 14:47:40 - [warn] ------------------------------------------------------
10 Oct 14:47:40 - [info] Settings file : /Users/jps/.node-red/settings.js
10 Oct 14:47:40 - [info] User directory : /Users/jps/.node-red
10 Oct 14:47:40 - [warn] Projects disabled : set editorTheme.projects.enabled=true to enable
10 Oct 14:47:40 - [info] Flows file : /Users/jps/.node-red/flows_MacBook-Pro-3.fritz.box.json
10 Oct 14:47:40 - [info] Server now running at http://127.0.0.1:1880/
10 Oct 14:47:40 - [info] Starting flows
10 Oct 14:47:40 - [error] [telegram bot:4316da31.0f7c94] Configuration data for webhook is missing. Defaulting to polling mode.
10 Oct 14:47:40 - [info] [mosca in:c2c2553a.5302a8] Binding mosca mqtt server on port: 1884
TypeError: RED.require is not a function
at new TableNode (/Users/jps/.node-red/node_modules/node-red-node-ui-table/node.js:48:30)
at createNode (/usr/local/lib/node_modules/node-red/red/runtime/nodes/flows/Flow.js:305:18)
at Flow.start (/usr/local/lib/node_modules/node-red/red/runtime/nodes/flows/Flow.js:89:35)
Вывод после стирания / переустановки / перезапуска Node-RED
10 Oct 20:56:19 - [info] Node-RED version: v0.18.4
10 Oct 20:56:19 - [info] Node.js version: v8.12.0
10 Oct 20:56:19 - [info] Darwin 18.7.0 x64 LE
10 Oct 20:56:19 - [info] Loading palette nodes
...
10 Oct 21:00:53 - [info] Starting flows
TypeError: RED.require is not a function
at new TableNode (/Users/jps/.node-red/node_modules/node-red-node-ui-table/node.js:48:30)
at createNode (/usr/local/lib/node_modules/node-red/red/runtime/nodes/flows/Flow.js:305:18)
at Flow.start (/usr/local/lib/node_modules/node-red/red/runtime/nodes/flows/Flow.js:89:35)
at start (/usr/local/lib/node_modules/node-red/red/runtime/nodes/flows/index.js:307:29)
at /usr/local/lib/node_modules/node-red/red/runtime/nodes/flows/index.js:144:21
at tryCatchReject (/usr/local/lib/node_modules/node-red/node_modules/when/lib/makePromise.js:845:30)
at runContinuation1 (/usr/local/lib/node_modules/node-red/node_modules/when/lib/makePromise.js:804:4)
at Fulfilled.when (/usr/local/lib/node_modules/node-red/node_modules/when/lib/makePromise.js:592:4)
at Pending.run (/usr/local/lib/node_modules/node-red/node_modules/when/lib/makePromise.js:483:13)
at Scheduler._drain (/usr/local/lib/node_modules/node-red/node_modules/when/lib/Scheduler.js:62:19)
10 Oct 21:00:53 - [info] Started flows
10 Oct 21:01:21 - [info] Stopping flows
10 Oct 21:01:21 - [info] Stopped flows
На панели инструментов есть пустая страница и мигающее сообщение Connection потерян.