# Coloured syntax helpers in function node disappeared. Now all code is black

**URL:** <https://discourse.nodered.org/t/coloured-syntax-helpers-in-function-node-disappeared-now-all-code-is-black/54842>\
**Category:** General\
**Tags:** function-node\
**Created:** [7 December 2021 19:46 UTC](https://discourse.nodered.org/t/coloured-syntax-helpers-in-function-node-disappeared-now-all-code-is-black/54842 "2021-12-07T19:46:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![metter](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@metter](https://discourse.nodered.org/u/metter)\
**Post date:** [7 December 2021 19:46 UTC](https://discourse.nodered.org/t/coloured-syntax-helpers-in-function-node-disappeared-now-all-code-is-black/54842/1 "2021-12-07T19:46:01Z")

</div>

all the code in all my function nodes is all the sudden all black.  
I cannot tell exactly from when that happened, but all the coloured code markup has disappeared and the code is now displayed all in black.  
I have restarted the node red docker container, but that didnt help.

Possibly related are these error messages in the log:

```auto
Platform node has already been set. Overwriting the platform with [object Object].
The kernel 'undefined' for backend 'cpu' is already registered
The kernel 'undefined' for backend 'webgl' is already registered

```

in some of the function nodes i am loading `@tensorflow/tfjs as tf` on startup.

what could cause this?

---

<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:** [7 December 2021 20:32 UTC](https://discourse.nodered.org/t/coloured-syntax-helpers-in-function-node-disappeared-now-all-code-is-black/54842/2 "2021-12-07T20:32:54Z")

</div>

Can you try a different browser? Ok another computer?

Can you look in the browser console - are there any errors?

---

<div class="post-metadata">

**Author:** ![metter](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@metter](https://discourse.nodered.org/u/metter)\
**Post date:** [8 December 2021 19:03 UTC](https://discourse.nodered.org/t/coloured-syntax-helpers-in-function-node-disappeared-now-all-code-is-black/54842/3 "2021-12-08T19:03:20Z")

</div>

checked the console and had 80-something errors. I am connecting through a proxy manager running on a raspberry pi. So I connected to the direct IP address of the node red server and the coloured markup showed normal. Then connected again through the proxy and the colours are still there. So all is fine again.Must have been some weird issue with the proxy manager.

Thank you for pointing in the right direction.

---

<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:** [22 December 2021 19:04 UTC](https://discourse.nodered.org/t/coloured-syntax-helpers-in-function-node-disappeared-now-all-code-is-black/54842/4 "2021-12-22T19:04:15Z")

</div>

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