# Flow shows error with app.min.js

**URL:** <https://discourse.nodered.org/t/flow-shows-error-with-app-min-js/65195>\
**Category:** General\
**Created:** [16 July 2022 18:51 UTC](https://discourse.nodered.org/t/flow-shows-error-with-app-min-js/65195 "2022-07-16T18:51:55Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![mynodered](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@mynodered](https://discourse.nodered.org/u/mynodered)\
**Post date:** [17 July 2022 13:27 UTC](https://discourse.nodered.org/t/flow-shows-error-with-app-min-js/65195/3 "2022-07-17T13:27:40Z")

</div>

the function just returns the message payload.

```auto
msg.payload = 
{
    "data":msg.payload
}
return msg;

```

I have not changed anything from the solution code posted in [Real-Time Data Chart with ChartJs Streaming - #2 by Mathieu](https://discourse.nodered.org/t/real-time-data-chart-with-chartjs-streaming/64361/2). I just imported it.  
I have downloaded the javascripts files and put in the httpStatic folder.

```auto
<script src="/chart.min.js"></script>
<script src="/hammer.js"></script>
<script src="/chartjs-plugin-zoom.min.js"></script>
<script src="/chartjs-adapter-date-fns.bundle.min.js"></script>
<script src="/chartjs-plugin-streaming.js"></script>

```

---

_[View the full topic](https://discourse.nodered.org/t/flow-shows-error-with-app-min-js/65195)._
