# Ui\_base Error with Node-red-dashboard on TheThingBox

**URL:** https://discourse.nodered.org/t/ui-base-error-with-node-red-dashboard-on-thethingbox/27183
**Category:** Dashboard
**Created:** [24 May 2020 11:07 UTC](https://discourse.nodered.org/t/ui-base-error-with-node-red-dashboard-on-thethingbox/27183 "2020-05-24T11:07:45Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![MrEngineer1](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mrengineer1/32/22693_2.png) [@MrEngineer1](https://discourse.nodered.org/u/MrEngineer1)
#### Post date: [24 May 2020 11:07 UTC](https://discourse.nodered.org/t/ui-base-error-with-node-red-dashboard-on-thethingbox/27183/1 "2020-05-24T11:07:45Z")

</div>

Any help??

Stuck for 3 days!!!

* * *

```
Welcome to Node-RED    

```

===========================  
24 May 10:58:39 - [info] thethingbox version: v2.8.0  
24 May 10:58:39 - [info] Node-RED version: v0.17.5  
24 May 10:58:39 - [info] Node.js version: v6.11.1  
24 May 10:58:39 - [info] Linux 4.9.35+ arm LE  
24 May 10:58:45 - [info] Loading palette nodes  
24 May 10:59:12 - [warn] ------------------------------------------------------  
24 May 10:59:12 - [warn] [ui\_base] SyntaxError: Unexpected token ...  
24 May 10:59:12 - [warn] ------------------------------------------------------  
24 May 10:59:12 - [info] User directory : /root/userdir/  
24 May 10:59:12 - [info] Flows file :  
/root/userdir/flows.json  
/root/thethingbox/node\_modules/node-red/flow/SoundManager/flows.json  
/root/thethingbox/node\_modules/node-red/flow/TaskManager/flows.json  
/root/thethingbox/node\_modules/node-red/flow/flows.json  
24 May 10:59:12 - [info] Server now running at [http://127.0.0.1:80/](http://127.0.0.1:80/)  
24 May 10:59:13 - [info] Waiting for missing types to be registered:  
24 May 10:59:13 - [info] - ui\_base

---

<div class="post-metadata">

### Author: ![MrEngineer1](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mrengineer1/32/22693_2.png) [@MrEngineer1](https://discourse.nodered.org/u/MrEngineer1)
#### Post date: [24 May 2020 11:11 UTC](https://discourse.nodered.org/t/ui-base-error-with-node-red-dashboard-on-thethingbox/27183/2 "2020-05-24T11:11:46Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/4/94eebfd259a7c47d7511be33af6aedb8ee0f751c.png)

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [24 May 2020 11:11 UTC](https://discourse.nodered.org/t/ui-base-error-with-node-red-dashboard-on-thethingbox/27183/3 "2020-05-24T11:11:53Z")

</div>

we haven't supported nodev6 for a long time....  
You need at least 8 (and even that is now end of life) so at least 10, or 12 recommended.  
And Node-RED itself is now v 1.0.6...  
You may be able to find an old version of dashboard - maybe 1.x - but I wouldn't really recommend going that far back.

---

<div class="post-metadata">

### Author: ![MrEngineer1](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mrengineer1/32/22693_2.png) [@MrEngineer1](https://discourse.nodered.org/u/MrEngineer1)
#### Post date: [24 May 2020 11:15 UTC](https://discourse.nodered.org/t/ui-base-error-with-node-red-dashboard-on-thethingbox/27183/4 "2020-05-24T11:15:37Z")

</div>

I kinda feel the problem should be there.

I installed another old module called: "node-red-contrib-ui" which worked for the ui page! But overlaps with dashboard.

I am using TheThingBox on arm v6 (RPi Zero) which I feel is very old.  
How can I upgrade Nod versions with having TheThingBox running?

---

<div class="post-metadata">

### Author: ![ristomatti](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ristomatti/32/5857_2.png) [@ristomatti](https://discourse.nodered.org/u/ristomatti)
#### Post date: [24 May 2020 11:39 UTC](https://discourse.nodered.org/t/ui-base-error-with-node-red-dashboard-on-thethingbox/27183/5 "2020-05-24T11:39:50Z")

</div>

I have never heard about TheThingBox but at least their website mentions a newer version which has Node 10.x and Node-RED 0.19.6: [http://thethingbox.io/docs/whatsnew.html](http://thethingbox.io/docs/whatsnew.html)

Can you upgrade your device?

---

<div class="post-metadata">

### Author: ![MrEngineer1](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mrengineer1/32/22693_2.png) [@MrEngineer1](https://discourse.nodered.org/u/MrEngineer1)
#### Post date: [24 May 2020 11:42 UTC](https://discourse.nodered.org/t/ui-base-error-with-node-red-dashboard-on-thethingbox/27183/6 "2020-05-24T11:42:59Z")

</div>

Yeah but it is not compatible with arm v6 (Raspberry pi zero).  
[http://thethingbox.io/](http://thethingbox.io/)

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [24 May 2020 11:57 UTC](https://discourse.nodered.org/t/ui-base-error-with-node-red-dashboard-on-thethingbox/27183/7 "2020-05-24T11:57:55Z")

</div>

well it seems like your options are

1. Use that arm6 version of thingbox with node-red-contrib-ui - and uninstall node-red-dashboard (as they will conflict) - knowing that it is out of support and no security patches (but probably ok for use on an isolated network)
2. use latest nodejs, Node-RED and node-red-dashboard - but drop thingbox.

Up to you.

---

<div class="post-metadata">

### Author: ![MrEngineer1](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mrengineer1/32/22693_2.png) [@MrEngineer1](https://discourse.nodered.org/u/MrEngineer1)
#### Post date: [24 May 2020 11:58 UTC](https://discourse.nodered.org/t/ui-base-error-with-node-red-dashboard-on-thethingbox/27183/8 "2020-05-24T11:58:24Z")

</div>

I tried upgrading (installing) node-red from this link:

[https://nodered.org/docs/getting-started/raspberrypi](https://nodered.org/docs/getting-started/raspberrypi)

* * *

Running Node-RED install for user root at /root on raspbian

This can take 20-30 minutes on the slower Pi versions - please wait.

Stop Node-RED ✔  
Remove old version of Node-RED ✔  
Remove old version of Node.js ✔  
Install Node.js for Armv6 ✘ Failed to install Node.js - Exit  
Clean npm cache  
Install Node-RED core  
Move global nodes to local  
Install extra Pi nodes  
Npm rebuild existing nodes  
Add shortcut commands  
Update systemd script

Any errors will be logged to /var/log/nodered-install.log

root@mysolarserver:~/userdir #

---

<div class="post-metadata">

### Author: ![ristomatti](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ristomatti/32/5857_2.png) [@ristomatti](https://discourse.nodered.org/u/ristomatti)
#### Post date: [24 May 2020 12:37 UTC](https://discourse.nodered.org/t/ui-base-error-with-node-red-dashboard-on-thethingbox/27183/9 "2020-05-24T12:37:03Z")

</div>

> [@MrEngineer1](#):
>
> Any errors will be logged to /var/log/nodered-install.log

Does the error log show anything useful?

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [24 May 2020 13:11 UTC](https://discourse.nodered.org/t/ui-base-error-with-node-red-dashboard-on-thethingbox/27183/10 "2020-05-24T13:11:22Z")

</div>

> [@MrEngineer1](#):
>
> Install Node.js for Armv6

Install nodejs first (e.g. [like this])([How to Run NodeJS on a Headless Raspberry Pi – desertbot.io](https://desertbot.io/blog/nodejs-git-and-pm2-headless-raspberry-pi-install)) then run the installer script again. It should leave nodejs as is and install node-red without issue.

---

<div class="post-metadata">

### Author: ![MrEngineer1](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mrengineer1/32/22693_2.png) [@MrEngineer1](https://discourse.nodered.org/u/MrEngineer1)
#### Post date: [24 May 2020 15:11 UTC](https://discourse.nodered.org/t/ui-base-error-with-node-red-dashboard-on-thethingbox/27183/11 "2020-05-24T15:11:54Z")

</div>

Thank you. I eventually made my mind to move on!

"TheThingBox" was made just to simplify the process for Beginners and to quickly design their project by just installing one image file and start their raspberry pi.

I got my hand on the raspberry pi last Monday for the first time. However, I learned many stuff in the past week much enough to use the original procedure for creating a server.

😍 😍The new version is really lovely.

I did:

1- Raspbian Buster Lite  
Minimal image based on Debian Buster

2- upgrade node-red using this command:

[https://nodered.org/docs/getting-started/raspberrypi](https://nodered.org/docs/getting-started/raspberrypi)

3- Run: "sudo apt update"

4- Run: "sudo apt install nodered"

5- Run: "sudo apt upgrade"

6- Run: "sudo apt full-upgrade"

7- Run: "sudo apt autoremove"

8- Run: "sudo apt-get clean"

9- Restart your raspberry pi:

```
"sudo reboot"

```

10- Congratulations! your raspberry pi has been updated and Node-red is ready.

At the end:  
Some useful node-modules:

npm install node-red-dashboard  
npm install node-red-node-arduino

For the server I tried one of the bests: (Free version enough)

> **[Dataplicity](https://www.dataplicity.com/)**
>
> Dataplicity lets you control, manage and repair your devices even as they roam between cellular, satellite and fixed networks beyond your control.

Here are a the pics:

 ![Upgrade](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/e/3ebe9402d02f3c0431d3e6472c036bb89cf13435.png)

 ![My initial Dashboard](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/2/02160c4fa159628eac386e04191237a23d0fba69.png)

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [24 May 2020 15:20 UTC](https://discourse.nodered.org/t/ui-base-error-with-node-red-dashboard-on-thethingbox/27183/12 "2020-05-24T15:20:50Z")

</div>

Welcome aboard. Hope you have lots of fun with it

---

<div class="post-metadata">

### Author: ![MrEngineer1](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mrengineer1/32/22693_2.png) [@MrEngineer1](https://discourse.nodered.org/u/MrEngineer1)
#### Post date: [24 May 2020 15:22 UTC](https://discourse.nodered.org/t/ui-base-error-with-node-red-dashboard-on-thethingbox/27183/13 "2020-05-24T15:22:33Z")

</div>

Thanks for the quick responses.

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [24 May 2020 16:22 UTC](https://discourse.nodered.org/t/ui-base-error-with-node-red-dashboard-on-thethingbox/27183/14 "2020-05-24T16:22:47Z")

</div>

> [@MrEngineer1](#):
>
> 4- Run: "sudo apt install nodered"

No need to do that, the getting started script installed node-red for you, the latest version rather than the one from the Raspian repository. However, at the moment the one in the repository is also the latest so it won't have done any harm.  
For the record, `apt full-upgrade` does the same as `apt upgrade` plus possibly a bit more, so you didn't need to do `upgrade` either.

---

<div class="post-metadata">

### Author: ![MrEngineer1](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mrengineer1/32/22693_2.png) [@MrEngineer1](https://discourse.nodered.org/u/MrEngineer1)
#### Post date: [24 May 2020 17:46 UTC](https://discourse.nodered.org/t/ui-base-error-with-node-red-dashboard-on-thethingbox/27183/15 "2020-05-24T17:46:21Z")

</div>

That is right. I implemented the whole process two times and realized that step does nothing. I just saw that in a credible YouTube video. It has no harm though.

Latest version of node-red is installed in the second step.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [7 June 2020 17:46 UTC](https://discourse.nodered.org/t/ui-base-error-with-node-red-dashboard-on-thethingbox/27183/16 "2020-06-07T17:46:31Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
