# Dashboard 2 missing Curly bracket crashed Node-RED

**URL:** <https://discourse.nodered.org/t/dashboard-2-missing-curly-bracket-crashed-node-red/87419>\
**Category:** Dashboard\
**Created:** [22 April 2024 14:44 UTC](https://discourse.nodered.org/t/dashboard-2-missing-curly-bracket-crashed-node-red/87419 "2024-04-22T14:44:18Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![iiLaw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/iilaw/32/14782_2.png) [@iiLaw](https://discourse.nodered.org/u/iiLaw)\
**Post date:** [22 April 2024 14:44 UTC](https://discourse.nodered.org/t/dashboard-2-missing-curly-bracket-crashed-node-red/87419/1 "2024-04-22T14:44:18Z")

</div>

Hi has anyone seen this on Dashboard 2.0 template node.  
I missed the closing Curly bracket {{item.appKey} and that crashed NR and requires a stop/start?

I also tried on a simple example in the template node this does the same {{msg.payload}.  
Though missing the opening Curly bracket {msg.payload} works.

---

<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:** [22 April 2024 19:15 UTC](https://discourse.nodered.org/t/dashboard-2-missing-curly-bracket-crashed-node-red/87419/2 "2024-04-22T19:15:04Z")

</div>

> [@iiLaw](#):
>
> I missed the closing Curly bracket {{item.appKey} and that crashed NR and requires a stop/start?

I've just tested this and Node-RED does not crash for me.

Please provide a minimal demo reproduceable flow and the following versions:

1. node-red
2. dashboard
3. node (`node -v`)

---

<div class="post-metadata">

**Author:** ![iiLaw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/iilaw/32/14782_2.png) [@iiLaw](https://discourse.nodered.org/u/iiLaw)\
**Post date:** [22 April 2024 19:53 UTC](https://discourse.nodered.org/t/dashboard-2-missing-curly-bracket-crashed-node-red/87419/3 "2024-04-22T19:53:59Z")

</div>

Hi Steve I've tried this on two different Nr instances and the same behaviour.  
Hit deploy flow becomes unresponsive and dashboard just shows loading.  
NR v3.1.9 & Dashboard 2 v1.7.1  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/2/2286d7261cd1b49bdddac37fd9461063ad288e02.png)

// Missing closing bracket {{msg.payload}  
` <span style="margin-left:5px;" v-if="msg.topic !== '' " style="margin-top: 10px;">{{msg.payload}</span>`

```auto
<template>
<div style="padding:0px; margin:0px">
  <v-btn @click="send({payload: value})" style="width:200px;">Create device config</v-btn>
  <v-icon style="margin-left:20px;" v-if="msg.topic !== '' " v-bind:color="msg.topic" icon="mdi-clipboard-check"></v-icon>
  <span style="margin-left:5px;" v-if="msg.topic !== '' " style="margin-top: 10px;">{{msg.payload}</span>
</div>
</template>

<script>
  // export export default {} has be included or temaplate doesn't work
  export default {
 
  }
</script>

<style>
    /* define any styles here - supports raw CSS */
    .my-class {
        color: blue;
    }
</style>

```

---

<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:** [22 April 2024 20:05 UTC](https://discourse.nodered.org/t/dashboard-2-missing-curly-bracket-crashed-node-red/87419/4 "2024-04-22T20:05:36Z")

</div>

Is it node red that crashes or the browser hanging?

---

<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:** [22 April 2024 20:11 UTC](https://discourse.nodered.org/t/dashboard-2-missing-curly-bracket-crashed-node-red/87419/5 "2024-04-22T20:11:12Z")

</div>

I can confirm it locks up the browser. Node-red runtime is not affected. closing tabs or restarting browser is enough to recover.

---

<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:** [22 April 2024 20:45 UTC](https://discourse.nodered.org/t/dashboard-2-missing-curly-bracket-crashed-node-red/87419/6 "2024-04-22T20:45:24Z")

</div>

Sadly it is all too easy to lockup the browser with silly errors in a template node, I seem to manage it regurlarly. Part of the problem is the lack of syntax checking in the template editor.

I reported an occurence the first time I saw this [Dashboard 2 Beta development - #42 by Colin](https://discourse.nodered.org/t/dashboard-2-beta-development/83550/42)

---

<div class="post-metadata">

**Author:** ![iiLaw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/iilaw/32/14782_2.png) [@iiLaw](https://discourse.nodered.org/u/iiLaw)\
**Post date:** [23 April 2024 07:08 UTC](https://discourse.nodered.org/t/dashboard-2-missing-curly-bracket-crashed-node-red/87419/7 "2024-04-23T07:08:53Z")

</div>

@Steve-Mcl @Colin Both thanks for confirming this.

---

<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:** [23 May 2024 07:09 UTC](https://discourse.nodered.org/t/dashboard-2-missing-curly-bracket-crashed-node-red/87419/8 "2024-05-23T07:09:08Z")

</div>

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