# Another new addition to the library. node-red-contrib-ui-level. Stuck

**URL:** https://discourse.nodered.org/t/another-new-addition-to-the-library-node-red-contrib-ui-level-stuck/9532
**Category:** Dashboard
**Created:** [28 March 2019 08:08 UTC](https://discourse.nodered.org/t/another-new-addition-to-the-library-node-red-contrib-ui-level-stuck/9532 "2019-03-28T08:08:55Z")
**Posts on this page:** 11
**Page:** 2

<div class="post-metadata">

### Author: ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)
#### Post date: [28 March 2019 10:31 UTC](https://discourse.nodered.org/t/another-new-addition-to-the-library-node-red-contrib-ui-level-stuck/9532/21 "2019-03-28T10:31:33Z")

</div>

log what comes with if you do node-red start

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [28 March 2019 10:32 UTC](https://discourse.nodered.org/t/another-new-addition-to-the-library-node-red-contrib-ui-level-stuck/9532/22 "2019-03-28T10:32:07Z")

</div>

so it is given I will have to stop it first.

Hand on.

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [28 March 2019 10:37 UTC](https://discourse.nodered.org/t/another-new-addition-to-the-library-node-red-contrib-ui-level-stuck/9532/23 "2019-03-28T10:37:45Z")

</div>

Ok this is what I get:

Note: MQTT machine is not visible so those errors are not anything to worry about.

```auto
me@me-desktop:~/.node-red$ node-red-start

Start Node-RED
 
Once Node-RED has started, point a browser at http://192.168.0.6:1880
On Pi Node-RED works better with the Firefox or Chrome browser
 
Use node-red-stop to stop Node-RED
Use node-red-start to start Node-RED again
Use node-red-log to view the recent log output
Use sudo systemctl enable nodered.service to autostart Node-RED at every boot
Use sudo systemctl disable nodered.service to disable autostart on boot
 
To find more nodes and example flows - go to http://flows.nodered.org
 
Starting as a systemd service.
28 Mar 21:34:45 - [info]
Welcome to Node-RED
===================
28 Mar 21:34:45 - [info] Node-RED version: v0.19.4
28 Mar 21:34:45 - [info] Node.js version: v8.15.1
28 Mar 21:34:45 - [info] Linux 4.15.0-46-generic x64 LE
28 Mar 21:34:45 - [info] Loading palette nodes
28 Mar 21:34:45 - [warn] rpi-gpio : Raspberry Pi specific node set inactive
28 Mar 21:34:45 - [warn] rpi-gpio : Cannot find Pi RPi.GPIO python library
node-red-contrib-jktestEditableList - initialising module. Module Version: 0.1.1
node-red-contrib-jktestEditableList - loading module
28 Mar 21:34:46 - [info] Dashboard version 2.14.0 started at /ui
28 Mar 21:34:46 - [info] Settings file : /home/me/.node-red/settings.js
28 Mar 21:34:46 - [info] HTTP Static : /home/me/.node-red/public
28 Mar 21:34:46 - [info] Context store : 'default' [module=memory]
28 Mar 21:34:46 - [info] User directory : /home/me/.node-red
28 Mar 21:34:46 - [warn] Projects disabled : set editorTheme.projects.enabled=true to enable
28 Mar 21:34:46 - [info] Flows file : /home/me/.node-red/flows_me-desktop.json
28 Mar 21:34:46 - [info] Server now running at http://127.0.0.1:1880/
28 Mar 21:34:46 - [warn]
---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------
28 Mar 21:34:46 - [info] Starting flows
28 Mar 21:34:46 - [info] [tcp in:MySensors Gateway] connecting to 192.168.1.20:5003
info: UIbuilder: Adding master vendor path url=/uibuilder/vendor/normalize.css, path=/home/me/.node-red/node_modules/normalize.css
info: UIbuilder: Adding master vendor path url=/uibuilder/vendor/jquery, path=/home/me/.node-red/node_modules/jquery
info: UI Builder - Version 1.0.8 started at /uibuilder
info: UI Builder - Local file overrides at /home/me/.node-red/uibuilder/uibuilder
28 Mar 21:34:46 - [info] UI Builder - Version 1.0.8 started at /uibuilder
28 Mar 21:34:46 - [info] UI Builder - Local file overrides at /home/me/.node-red/uibuilder/uibuilder
TypeError: Cannot read property 'global' of undefined
    at site (/home/me/.node-red/node_modules/node-red-contrib-ui-level/ui-level.js:186:31)
    at new LevelNode (/home/me/.node-red/node_modules/node-red-contrib-ui-level/ui-level.js:266:23)
    at createNode (/usr/lib/node_modules/node-red/red/runtime/nodes/flows/Flow.js:305:18)
    at Flow.start (/usr/lib/node_modules/node-red/red/runtime/nodes/flows/Flow.js:89:35)
    at start (/usr/lib/node_modules/node-red/red/runtime/nodes/flows/index.js:328:29)
    at tryCatchReject (/usr/lib/node_modules/node-red/node_modules/when/lib/makePromise.js:845:30)
    at runContinuation1 (/usr/lib/node_modules/node-red/node_modules/when/lib/makePromise.js:804:4)
    at Fulfilled.when (/usr/lib/node_modules/node-red/node_modules/when/lib/makePromise.js:592:4)
    at Pending.run (/usr/lib/node_modules/node-red/node_modules/when/lib/makePromise.js:483:13)
    at Scheduler._drain (/usr/lib/node_modules/node-red/node_modules/when/lib/Scheduler.js:62:19)
28 Mar 21:34:46 - [info] Started flows
28 Mar 21:34:46 - [error] [function:build array (1)] TypeError: Cannot read property 'shift' of undefined

```

---

<div class="post-metadata">

### Author: ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)
#### Post date: [28 March 2019 10:44 UTC](https://discourse.nodered.org/t/another-new-addition-to-the-library-node-red-contrib-ui-level-stuck/9532/24 "2019-03-28T10:44:38Z")

</div>

OK. this is something I need to investigate.

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [28 March 2019 10:46 UTC](https://discourse.nodered.org/t/another-new-addition-to-the-library-node-red-contrib-ui-level-stuck/9532/25 "2019-03-28T10:46:28Z")

</div>

Ok.

Thanks.

I hope it isn't something at my end.

Just for a "last ditch effort", could you post a quick example of the least required flow to get it working?

One inject node with a value and the new node to display it?

(That is if my flow is not good enough.)

---

<div class="post-metadata">

### Author: ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)
#### Post date: [28 March 2019 10:56 UTC](https://discourse.nodered.org/t/another-new-addition-to-the-library-node-red-contrib-ui-level-stuck/9532/26 "2019-03-28T10:56:52Z")

</div>

Place node into some group, default configuration should already work, give it a number with `msg.payload` and that's it. No tricks what so ever.

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [28 March 2019 10:58 UTC](https://discourse.nodered.org/t/another-new-addition-to-the-library-node-red-contrib-ui-level-stuck/9532/27 "2019-03-28T10:58:50Z")

</div>

Ok.

Good. Just in case I am/was shooting myself in the foot.

I am sure you can agree I am quite good at doing that.

:wink

---

<div class="post-metadata">

### Author: ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)
#### Post date: [28 March 2019 11:04 UTC](https://discourse.nodered.org/t/another-new-addition-to-the-library-node-red-contrib-ui-level-stuck/9532/28 "2019-03-28T11:04:45Z")

</div>

You could try to uninstall the ui-level node and reinstall. May and may not help.  
I don have any not windows machine, cant test out really what's wrong, thus everything works on windows machine.

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [28 March 2019 11:07 UTC](https://discourse.nodered.org/t/another-new-addition-to-the-library-node-red-contrib-ui-level-stuck/9532/29 "2019-03-28T11:07:32Z")

</div>

I've tried un-installing it and then putting it back.

But no reboot after/inbetween.

No change.

But I've tried FF, Chrome and Opera. All same result.

All local on **this** machine.

No big worry. I am just going through looking for new nodes that may be nice to use.  
No immediate use/need for it to work.

Thanks.

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [28 March 2019 11:20 UTC](https://discourse.nodered.org/t/another-new-addition-to-the-library-node-red-contrib-ui-level-stuck/9532/30 "2019-03-28T11:20:24Z")

</div>

What I may try is to un-install it and then install it from the CLI.

This is what I get:

```auto
me@me-desktop:~/.node-red$ npm install node-red-contrib-ui-level
npm WARN node-red-project@0.0.1 No repository field.
npm WARN node-red-project@0.0.1 No license field.

+ node-red-contrib-ui-level@0.0.6
added 1 package from 1 contributor and audited 1047 packages in 2.644s
found 13 vulnerabilities (5 low, 6 moderate, 1 high, 1 critical)
  run `npm audit fix` to fix them, or `npm audit` for details
me@me-desktop:~/.node-red$ 

```

Alas still no luck.  
I apply it to the flow with a simple `inject` node and it is still not _working_ - as it were.

---

<div class="post-metadata">

### Author: ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)
#### Post date: [28 March 2019 11:54 UTC](https://discourse.nodered.org/t/another-new-addition-to-the-library-node-red-contrib-ui-level-stuck/9532/31 "2019-03-28T11:54:12Z")

</div>

I published patch what might get it working for you, but it still not the correct solution.  
Version 0.0.7

[Previous page](https://discourse.nodered.org/t/another-new-addition-to-the-library-node-red-contrib-ui-level-stuck/9532.md?page=1)
