# Why won't this flow deploy?

**URL:** https://discourse.nodered.org/t/why-wont-this-flow-deploy/37214
**Category:** General
**Created:** [9 December 2020 00:10 UTC](https://discourse.nodered.org/t/why-wont-this-flow-deploy/37214 "2020-12-09T00:10:49Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![adamelli](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/adamelli/32/31793_2.png) [@adamelli](https://discourse.nodered.org/u/adamelli)
#### Post date: [9 December 2020 00:10 UTC](https://discourse.nodered.org/t/why-wont-this-flow-deploy/37214/1 "2020-12-09T00:10:49Z")

</div>

I do not get any errors, and the Deploy button will not work.

```auto
[{"id":"aed64631.89f078","type":"inject","z":"a99b8510.8054b8","name":"onLoad","topic":"","payload":"0","payloadType":"num","repeat":"","crontab":"","once":true,"x":124,"y":445,"wires":[["4d6f6cc4.b427b4","50741b7.8f273e4","646df0ae.a4b41"]]},{"id":"4d6f6cc4.b427b4","type":"ui_slider","z":"a99b8510.8054b8","tab":"e270ef70.d0a77","name":"Red","topic":"","group":"RGB LEDs","order":1,"min":0,"max":"100","x":280,"y":179,"wires":[["df7b1107.f088c"]]},{"id":"50741b7.8f273e4","type":"ui_slider","z":"a99b8510.8054b8","tab":"e270ef70.d0a77","name":"Green","topic":"","group":"RGB LEDs","order":1,"min":0,"max":"100","x":281,"y":274,"wires":[["92dac5d7.ac1b68"]]},{"id":"646df0ae.a4b41","type":"ui_slider","z":"a99b8510.8054b8","tab":"e270ef70.d0a77","name":"Blue","topic":"","group":"RGB LEDs","order":1,"min":0,"max":"100","x":281,"y":370,"wires":[["ac107e0e.cc746"]]},{"id":"df7b1107.f088c","type":"function","z":"a99b8510.8054b8","name":"toString","func":"msg.payload = \"pwm03\"+msg.payload;\nreturn msg;","outputs":1,"noerr":0,"x":485,"y":227,"wires":[["4fb64e6f.1694"]]},{"id":"92dac5d7.ac1b68","type":"function","z":"a99b8510.8054b8","name":"toString","func":"msg.payload = \"pwm02\"+msg.payload;\nreturn msg;","outputs":1,"noerr":0,"x":485,"y":327,"wires":[["4fb64e6f.1694"]]},{"id":"ac107e0e.cc746","type":"function","z":"a99b8510.8054b8","name":"toString","func":"msg.payload = \"pwm04\"+msg.payload;\nreturn msg;","outputs":1,"noerr":0,"x":488,"y":430,"wires":[["4fb64e6f.1694"]]},{"id":"4fb64e6f.1694","type":"serial out","z":"a99b8510.8054b8","name":"Arduino","serial":"3a1aeb33.47d014","x":686,"y":134,"wires":[]},{"id":"c46e53c.64315b","type":"serial in","z":"a99b8510.8054b8","name":"Arduino","serial":"3a1aeb33.47d014","x":124,"y":101,"wires":[["9319bc32.748fc"]]},{"id":"9319bc32.748fc","type":"ui_gauge","z":"a99b8510.8054b8","tab":"e270ef70.d0a77","name":"Rough value","group":"Intensity","order":1,"format":"{{value}}","min":0,"max":"80","x":394,"y":101,"wires":[]},{"id":"e270ef70.d0a77","type":"ui_tab","z":"a99b8510.8054b8","name":"test","icon":"dashboard","order":"1"},{"id":"3a1aeb33.47d014","type":"serial-port","z":"a99b8510.8054b8","serialport":"/dev/ttyACM0","serialbaud":"115200","databits":"8","parity":"none","stopbits":"1","newline":"\\n","bin":"false","out":"char","addchar":true}]

```

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/1/a1f23377cff70fefeda059fbc46a14f44111549b.png)

---

<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: [9 December 2020 00:33 UTC](https://discourse.nodered.org/t/why-wont-this-flow-deploy/37214/2 "2020-12-09T00:33:58Z")

</div>

I suspect you have an older version of node-red and if you look in the browser console you will see errors similar to [this](https://discourse.nodered.org/t/ive-broken-the-deploy-button/36594). If I am right then you need to update to v1.2.5 or above

---

<div class="post-metadata">

### Author: ![adamelli](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/adamelli/32/31793_2.png) [@adamelli](https://discourse.nodered.org/u/adamelli)
#### Post date: [9 December 2020 15:56 UTC](https://discourse.nodered.org/t/why-wont-this-flow-deploy/37214/3 "2020-12-09T15:56:48Z")

</div>

Had v1.2.3 Then updated it:

```auto
npm install -g --unsafe-perm node-red

```

Now have v1.2.6 and it works. Thanks wise Steve-Mcl!

---

<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 December 2020 15:57 UTC](https://discourse.nodered.org/t/why-wont-this-flow-deploy/37214/4 "2020-12-23T15:57:04Z")

</div>

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