# Error on launch of NR in browser console - Uncaught TypeError: Cannot read property 'paletteLabel' of undefined

**URL:** <https://discourse.nodered.org/t/error-on-launch-of-nr-in-browser-console-uncaught-typeerror-cannot-read-property-palettelabel-of-undefined/49280>\
**Category:** General\
**Created:** [3 August 2021 19:53 UTC](https://discourse.nodered.org/t/error-on-launch-of-nr-in-browser-console-uncaught-typeerror-cannot-read-property-palettelabel-of-undefined/49280 "2021-08-03T19:53:26Z")\
**Posts on this page:** 4\
**Page:** 1

<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:** [3 August 2021 19:53 UTC](https://discourse.nodered.org/t/error-on-launch-of-nr-in-browser-console-uncaught-typeerror-cannot-read-property-palettelabel-of-undefined/49280/1 "2021-08-03T19:53:26Z")

</div>

Haven't seen reported but may be I just cant search ...

```auto
3 Aug 22:12:41 - [info] Node-RED version: v2.0.5
3 Aug 22:12:41 - [info] Node.js version: v14.15.3
3 Aug 22:12:41 - [info] Windows_NT 10.0.19042 x64 LE

```

Browser : Chrome  
v 92.0.4515.107

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

Slight investigations with browser dev tools lead to node-red/editor-client/src/js/ui/tab-help.js  
where `function getNodeLabel(n) ` method is called with argument `n` which should have `_def` property defined but it is `undefined`. Not sure where from the function call originates.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [3 August 2021 20:52 UTC](https://discourse.nodered.org/t/error-on-launch-of-nr-in-browser-console-uncaught-typeerror-cannot-read-property-palettelabel-of-undefined/49280/2 "2021-08-03T20:52:34Z")

</div>

Probably best to raise an issue when you get an error like that. We can then investigate it.

It does sound familiar, but not sure given you are on 2.0.5.

Please include details about what nodes you have installed, and what you've done prior to this happening. Did you just install something? Upgrade something? Edit something?

(But am on holiday this week so my contributions are limited to answering easy questions from my phone in between naps)

---

<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:** [4 August 2021 22:25 UTC](https://discourse.nodered.org/t/error-on-launch-of-nr-in-browser-console-uncaught-typeerror-cannot-read-property-palettelabel-of-undefined/49280/3 "2021-08-04T22:25:52Z")

</div>

Did the step by step uninstall and after the `uibuilder` (was 3.something) the error was gone. There was no indications that the node could be reason.  
But as my laptop was still unreliable (probably due the experimental drivers I'v installed for testing and the uninstall was kind of dodgy) the issue is now out of question due the fresh windows install and for now everything works as expected.

---

<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:** [3 October 2021 22:26 UTC](https://discourse.nodered.org/t/error-on-launch-of-nr-in-browser-console-uncaught-typeerror-cannot-read-property-palettelabel-of-undefined/49280/4 "2021-10-03T22:26:06Z")

</div>

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